When providing services to people in various regions, we are beholden to certain laws and regulations:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "@internal/ui-svelte", | |
| "version": "0.0.0-semantically-released", | |
| "description": "Component library for the common Svelte components", | |
| "license": "SEE LICENSE IN LICENSE", | |
| "repository": { | |
| "type": "git", | |
| "url": "git+https://github.com/redacted/ui-svelte.git" | |
| }, | |
| "files": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| "Reacting to checkboxes" by Enrico | |
| https://github.com/theetrain | |
| Synchronizes checkbox state between two different views | |
| of checkboxes. | |
| --> | |
| <script> | |
| import Container from './Container.svelte' |
Cool Vite thing I learned today; @import in .css files will be inlined at build time.
/* main.css */
@import url('variables.css');
@import url('normalize.css');This becomes a single CSS file in the production build; and if you happen to add it to a shared library (npm package), you can have it auto-import global styles along with Svelte components.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { maybeStream } from '$lib/utils' | |
| /** @type {import('./$types').PageServerLoad} */ | |
| export async function load({ isDataRequest }) { | |
| const combinationResponse = maybeStream(pretendAPI(), { isDataRequest }) | |
| const otherCombinationResponse = maybeStream(pretendAPI(), { isDataRequest }) | |
| let [combination, other] = await Promise.all([ | |
| combinationResponse, | |
| otherCombinationResponse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { connect } from '$lib/server/pbclient' | |
| import { redirect, type Actions } from '@sveltejs/kit' | |
| export const actions = { | |
| create: async ({ request, cookies }) => { | |
| const data = await request.formData() | |
| const post = [...data.entries()] | |
| const pb = await connect() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "root": true, | |
| "extends": ["prettier", "standard"], | |
| "plugins": ["@typescript-eslint"], | |
| "parser": "@typescript-eslint/parser", | |
| "rules": { | |
| "arrow-parens": ["error", "as-needed"], | |
| "operator-linebreak": ["error", "before"], | |
| "no-trailing-spaces": [ | |
| "error", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Here are some ways to enable live captioning on your devices.
- macOS: https://support.apple.com/en-ca/guide/mac-help/mchlc1cb8d54/mac
- Windows 11: https://support.microsoft.com/en-us/windows/use-live-captions-to-better-understand-audio-b52da59c-14b8-4031-aeeb-f6a47e6055df
- Android 10+: https://support.google.com/accessibility/android/answer/9350862?hl=en
- iOS: https://support.apple.com/en-ca/guide/iphone/iphe0990f7bb/ios
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <svelte:options tag="my-app" /> | |
| <workgroup-page /> |
NewerOlder