@geoffcox/sterling-svelte 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/package.json +8 -8
- package/.DS_Store +0 -0
- /package/{@types → dist/@types}/clickOutside.d.ts +0 -0
- /package/{Button.svelte → dist/Button.svelte} +0 -0
- /package/{Button.svelte.d.ts → dist/Button.svelte.d.ts} +0 -0
- /package/{Callout.svelte → dist/Callout.svelte} +0 -0
- /package/{Callout.svelte.d.ts → dist/Callout.svelte.d.ts} +0 -0
- /package/{Callout.types.d.ts → dist/Callout.types.d.ts} +0 -0
- /package/{Callout.types.js → dist/Callout.types.js} +0 -0
- /package/{Checkbox.svelte → dist/Checkbox.svelte} +0 -0
- /package/{Checkbox.svelte.d.ts → dist/Checkbox.svelte.d.ts} +0 -0
- /package/{Dialog.svelte → dist/Dialog.svelte} +0 -0
- /package/{Dialog.svelte.d.ts → dist/Dialog.svelte.d.ts} +0 -0
- /package/{Dropdown.svelte → dist/Dropdown.svelte} +0 -0
- /package/{Dropdown.svelte.d.ts → dist/Dropdown.svelte.d.ts} +0 -0
- /package/{Input.svelte → dist/Input.svelte} +0 -0
- /package/{Input.svelte.d.ts → dist/Input.svelte.d.ts} +0 -0
- /package/{Label.constants.d.ts → dist/Label.constants.d.ts} +0 -0
- /package/{Label.constants.js → dist/Label.constants.js} +0 -0
- /package/{Label.svelte → dist/Label.svelte} +0 -0
- /package/{Label.svelte.d.ts → dist/Label.svelte.d.ts} +0 -0
- /package/{Link.svelte → dist/Link.svelte} +0 -0
- /package/{Link.svelte.d.ts → dist/Link.svelte.d.ts} +0 -0
- /package/{List.constants.d.ts → dist/List.constants.d.ts} +0 -0
- /package/{List.constants.js → dist/List.constants.js} +0 -0
- /package/{List.svelte → dist/List.svelte} +0 -0
- /package/{List.svelte.d.ts → dist/List.svelte.d.ts} +0 -0
- /package/{List.types.d.ts → dist/List.types.d.ts} +0 -0
- /package/{List.types.js → dist/List.types.js} +0 -0
- /package/{ListItem.svelte → dist/ListItem.svelte} +0 -0
- /package/{ListItem.svelte.d.ts → dist/ListItem.svelte.d.ts} +0 -0
- /package/{Menu.svelte → dist/Menu.svelte} +0 -0
- /package/{Menu.svelte.d.ts → dist/Menu.svelte.d.ts} +0 -0
- /package/{MenuBar.constants.d.ts → dist/MenuBar.constants.d.ts} +0 -0
- /package/{MenuBar.constants.js → dist/MenuBar.constants.js} +0 -0
- /package/{MenuBar.svelte → dist/MenuBar.svelte} +0 -0
- /package/{MenuBar.svelte.d.ts → dist/MenuBar.svelte.d.ts} +0 -0
- /package/{MenuBar.types.d.ts → dist/MenuBar.types.d.ts} +0 -0
- /package/{MenuBar.types.js → dist/MenuBar.types.js} +0 -0
- /package/{MenuButton.svelte → dist/MenuButton.svelte} +0 -0
- /package/{MenuButton.svelte.d.ts → dist/MenuButton.svelte.d.ts} +0 -0
- /package/{MenuItem.constants.d.ts → dist/MenuItem.constants.d.ts} +0 -0
- /package/{MenuItem.constants.js → dist/MenuItem.constants.js} +0 -0
- /package/{MenuItem.svelte → dist/MenuItem.svelte} +0 -0
- /package/{MenuItem.svelte.d.ts → dist/MenuItem.svelte.d.ts} +0 -0
- /package/{MenuItem.types.d.ts → dist/MenuItem.types.d.ts} +0 -0
- /package/{MenuItem.types.js → dist/MenuItem.types.js} +0 -0
- /package/{MenuItem.utils.d.ts → dist/MenuItem.utils.d.ts} +0 -0
- /package/{MenuItem.utils.js → dist/MenuItem.utils.js} +0 -0
- /package/{MenuSeparator.svelte → dist/MenuSeparator.svelte} +0 -0
- /package/{MenuSeparator.svelte.d.ts → dist/MenuSeparator.svelte.d.ts} +0 -0
- /package/{Popover.constants.d.ts → dist/Popover.constants.d.ts} +0 -0
- /package/{Popover.constants.js → dist/Popover.constants.js} +0 -0
- /package/{Popover.svelte → dist/Popover.svelte} +0 -0
- /package/{Popover.svelte.d.ts → dist/Popover.svelte.d.ts} +0 -0
- /package/{Popover.types.d.ts → dist/Popover.types.d.ts} +0 -0
- /package/{Popover.types.js → dist/Popover.types.js} +0 -0
- /package/{Portal.constants.d.ts → dist/Portal.constants.d.ts} +0 -0
- /package/{Portal.constants.js → dist/Portal.constants.js} +0 -0
- /package/{Portal.types.d.ts → dist/Portal.types.d.ts} +0 -0
- /package/{Portal.types.js → dist/Portal.types.js} +0 -0
- /package/{Progress.constants.d.ts → dist/Progress.constants.d.ts} +0 -0
- /package/{Progress.constants.js → dist/Progress.constants.js} +0 -0
- /package/{Progress.svelte → dist/Progress.svelte} +0 -0
- /package/{Progress.svelte.d.ts → dist/Progress.svelte.d.ts} +0 -0
- /package/{Progress.types.d.ts → dist/Progress.types.d.ts} +0 -0
- /package/{Progress.types.js → dist/Progress.types.js} +0 -0
- /package/{Radio.svelte → dist/Radio.svelte} +0 -0
- /package/{Radio.svelte.d.ts → dist/Radio.svelte.d.ts} +0 -0
- /package/{Select.svelte → dist/Select.svelte} +0 -0
- /package/{Select.svelte.d.ts → dist/Select.svelte.d.ts} +0 -0
- /package/{Slider.svelte → dist/Slider.svelte} +0 -0
- /package/{Slider.svelte.d.ts → dist/Slider.svelte.d.ts} +0 -0
- /package/{Switch.svelte → dist/Switch.svelte} +0 -0
- /package/{Switch.svelte.d.ts → dist/Switch.svelte.d.ts} +0 -0
- /package/{Tab.svelte → dist/Tab.svelte} +0 -0
- /package/{Tab.svelte.d.ts → dist/Tab.svelte.d.ts} +0 -0
- /package/{TabList.constants.d.ts → dist/TabList.constants.d.ts} +0 -0
- /package/{TabList.constants.js → dist/TabList.constants.js} +0 -0
- /package/{TabList.svelte → dist/TabList.svelte} +0 -0
- /package/{TabList.svelte.d.ts → dist/TabList.svelte.d.ts} +0 -0
- /package/{TabList.types.d.ts → dist/TabList.types.d.ts} +0 -0
- /package/{TabList.types.js → dist/TabList.types.js} +0 -0
- /package/{TextArea.constants.d.ts → dist/TextArea.constants.d.ts} +0 -0
- /package/{TextArea.constants.js → dist/TextArea.constants.js} +0 -0
- /package/{TextArea.svelte → dist/TextArea.svelte} +0 -0
- /package/{TextArea.svelte.d.ts → dist/TextArea.svelte.d.ts} +0 -0
- /package/{TextArea.types.d.ts → dist/TextArea.types.d.ts} +0 -0
- /package/{TextArea.types.js → dist/TextArea.types.js} +0 -0
- /package/{Tooltip.svelte → dist/Tooltip.svelte} +0 -0
- /package/{Tooltip.svelte.d.ts → dist/Tooltip.svelte.d.ts} +0 -0
- /package/{Tree.constants.d.ts → dist/Tree.constants.d.ts} +0 -0
- /package/{Tree.constants.js → dist/Tree.constants.js} +0 -0
- /package/{Tree.svelte → dist/Tree.svelte} +0 -0
- /package/{Tree.svelte.d.ts → dist/Tree.svelte.d.ts} +0 -0
- /package/{Tree.types.d.ts → dist/Tree.types.d.ts} +0 -0
- /package/{Tree.types.js → dist/Tree.types.js} +0 -0
- /package/{TreeChevron.svelte → dist/TreeChevron.svelte} +0 -0
- /package/{TreeChevron.svelte.d.ts → dist/TreeChevron.svelte.d.ts} +0 -0
- /package/{TreeItem.constants.d.ts → dist/TreeItem.constants.d.ts} +0 -0
- /package/{TreeItem.constants.js → dist/TreeItem.constants.js} +0 -0
- /package/{TreeItem.svelte → dist/TreeItem.svelte} +0 -0
- /package/{TreeItem.svelte.d.ts → dist/TreeItem.svelte.d.ts} +0 -0
- /package/{TreeItem.types.d.ts → dist/TreeItem.types.d.ts} +0 -0
- /package/{TreeItem.types.js → dist/TreeItem.types.js} +0 -0
- /package/{actions → dist/actions}/applyLightDarkMode.d.ts +0 -0
- /package/{actions → dist/actions}/applyLightDarkMode.js +0 -0
- /package/{actions → dist/actions}/clickOutside.d.ts +0 -0
- /package/{actions → dist/actions}/clickOutside.js +0 -0
- /package/{actions → dist/actions}/extraClass.d.ts +0 -0
- /package/{actions → dist/actions}/extraClass.js +0 -0
- /package/{actions → dist/actions}/forwardEvents.d.ts +0 -0
- /package/{actions → dist/actions}/forwardEvents.js +0 -0
- /package/{actions → dist/actions}/portal.d.ts +0 -0
- /package/{actions → dist/actions}/portal.js +0 -0
- /package/{actions → dist/actions}/trapKeyboardFocus.d.ts +0 -0
- /package/{actions → dist/actions}/trapKeyboardFocus.js +0 -0
- /package/{idGenerator.d.ts → dist/idGenerator.d.ts} +0 -0
- /package/{idGenerator.js → dist/idGenerator.js} +0 -0
- /package/{index.d.ts → dist/index.d.ts} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{mediaQueries → dist/mediaQueries}/prefersColorSchemeDark.d.ts +0 -0
- /package/{mediaQueries → dist/mediaQueries}/prefersColorSchemeDark.js +0 -0
- /package/{mediaQueries → dist/mediaQueries}/prefersReducedMotion.d.ts +0 -0
- /package/{mediaQueries → dist/mediaQueries}/prefersReducedMotion.js +0 -0
- /package/{mediaQueries → dist/mediaQueries}/usingKeyboard.d.ts +0 -0
- /package/{mediaQueries → dist/mediaQueries}/usingKeyboard.js +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# sterling-svelte
|
|
2
|
+
|
|
3
|
+
A modern, accessible, and lightweight component library for Svelte.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm install @geoffcox/sterling-svelte
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Documentation
|
|
12
|
+
|
|
13
|
+
The project builds the documentation for the library as a SvelteKit application.
|
|
14
|
+
See the published version of the [documentation](https://geoffcox.github.io/demos/sterling-svelte/).
|
|
15
|
+
|
|
16
|
+
## Repository
|
|
17
|
+
|
|
18
|
+
https://github.com/GeoffCox/sterling-svelte
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geoffcox/sterling-svelte",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"author": "Geoff Cox",
|
|
5
5
|
"description": "A modern, accessible, and lightweight UI component library for Svelte.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
],
|
|
42
42
|
"exports": {
|
|
43
43
|
".": {
|
|
44
|
-
"types": "./index.d.ts",
|
|
45
|
-
"svelte": "./index.js"
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"svelte": "./dist/index.js"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"files": [
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
49
|
+
"dist",
|
|
50
|
+
"!dist/**/*.test.*",
|
|
51
|
+
"!dist/**/*.spec.*"
|
|
52
52
|
],
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "vite build && npm run package",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"keyborg": "^2.0.0",
|
|
101
101
|
"lodash-es": "^4.17.21"
|
|
102
102
|
},
|
|
103
|
-
"svelte": "./index.js",
|
|
104
|
-
"types": "./index.d.ts",
|
|
103
|
+
"svelte": "./dist/index.js",
|
|
104
|
+
"types": "./dist/index.d.ts",
|
|
105
105
|
"type": "module"
|
|
106
106
|
}
|
package/.DS_Store
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|