@dvcol/neo-svelte 0.1.3 → 0.1.5
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/CHANGELOG.md +91 -0
- package/README.md +91 -32
- package/dist/buttons/NeoButton.svelte +141 -128
- package/dist/buttons/NeoButtonGroup.svelte +99 -108
- package/dist/buttons/neo-button-group.model.d.ts +18 -19
- package/dist/buttons/neo-button.model.d.ts +6 -10
- package/dist/cards/NeoCard.svelte +175 -72
- package/dist/cards/NeoCard.svelte.d.ts +1 -1
- package/dist/cards/neo-card.model.d.ts +29 -1
- package/dist/containers/NeoTransitionContainer.svelte +13 -2
- package/dist/containers/neo-transition-container.model.d.ts +9 -1
- package/dist/divider/NeoDivider.svelte +11 -11
- package/dist/icons/IconAccount.svelte +10 -2
- package/dist/icons/IconAdd.svelte +10 -2
- package/dist/icons/IconAlert.svelte +2 -2
- package/dist/icons/IconCalendar.svelte +23 -0
- package/dist/icons/IconCalendar.svelte.d.ts +26 -0
- package/dist/icons/IconCheckbox.svelte +87 -0
- package/dist/icons/IconCheckbox.svelte.d.ts +55 -0
- package/dist/icons/IconCircleLoading.svelte +2 -2
- package/dist/icons/IconClear.svelte +10 -2
- package/dist/icons/IconClose.svelte +2 -2
- package/dist/icons/IconConfirm.svelte +2 -2
- package/dist/icons/IconDownload.svelte +17 -0
- package/dist/icons/IconDownload.svelte.d.ts +26 -0
- package/dist/icons/IconEmpty.svelte +2 -2
- package/dist/icons/IconFileUpload.svelte +2 -2
- package/dist/icons/IconGithub.svelte +2 -2
- package/dist/icons/IconImage.svelte +2 -2
- package/dist/icons/IconMinus.svelte +2 -2
- package/dist/icons/IconMoon.svelte +2 -2
- package/dist/icons/IconPaint.svelte +19 -0
- package/dist/icons/{IconSunrise.svelte.d.ts → IconPaint.svelte.d.ts} +3 -3
- package/dist/icons/IconPencil.svelte +13 -0
- package/dist/icons/IconPencil.svelte.d.ts +26 -0
- package/dist/icons/IconRadio.svelte +14 -0
- package/dist/icons/IconRadio.svelte.d.ts +22 -0
- package/dist/icons/IconSave.svelte +1 -1
- package/dist/icons/IconSave.svelte.d.ts +3 -3
- package/dist/icons/IconSaveOff.svelte +1 -1
- package/dist/icons/IconSaveOff.svelte.d.ts +3 -3
- package/dist/icons/IconSearch.svelte +2 -2
- package/dist/icons/IconSun.svelte +3 -3
- package/dist/icons/{IconSunrise.svelte → IconSunFull.svelte} +5 -4
- package/dist/icons/IconSunFull.svelte.d.ts +26 -0
- package/dist/icons/IconVideo.svelte +2 -2
- package/dist/icons/IconWatch.svelte +2 -2
- package/dist/icons/IconWatchOff.svelte +2 -2
- package/dist/inputs/NeoCheckbox.svelte +316 -0
- package/dist/inputs/NeoCheckbox.svelte.d.ts +19 -0
- package/dist/inputs/NeoColorPicker.svelte +140 -0
- package/dist/inputs/NeoColorPicker.svelte.d.ts +19 -0
- package/dist/inputs/NeoDateTime.svelte +96 -0
- package/dist/inputs/NeoDateTime.svelte.d.ts +19 -0
- package/dist/inputs/NeoFilePicker.svelte +528 -0
- package/dist/inputs/NeoFilePicker.svelte.d.ts +19 -0
- package/dist/inputs/NeoFilePickerCard.svelte +314 -0
- package/dist/inputs/NeoFilePickerCard.svelte.d.ts +19 -0
- package/dist/inputs/NeoNumberStep.svelte +174 -0
- package/dist/inputs/NeoNumberStep.svelte.d.ts +19 -0
- package/dist/inputs/NeoPassword.svelte +86 -17
- package/dist/inputs/NeoPassword.svelte.d.ts +19 -16
- package/dist/inputs/NeoPin.svelte +589 -0
- package/dist/inputs/NeoPin.svelte.d.ts +19 -0
- package/dist/inputs/NeoRadio.svelte +254 -0
- package/dist/inputs/NeoRadio.svelte.d.ts +19 -0
- package/dist/inputs/NeoRange.svelte +675 -0
- package/dist/inputs/NeoRange.svelte.d.ts +19 -0
- package/dist/inputs/NeoSwitch.svelte +373 -0
- package/dist/inputs/NeoSwitch.svelte.d.ts +19 -0
- package/dist/inputs/NeoTextarea.svelte +341 -307
- package/dist/inputs/NeoTextarea.svelte.d.ts +7 -4
- package/dist/inputs/common/NeoAffix.svelte +166 -0
- package/dist/inputs/common/NeoAffix.svelte.d.ts +19 -0
- package/dist/inputs/common/NeoBaseInput.svelte +362 -0
- package/dist/inputs/common/NeoBaseInput.svelte.d.ts +30 -0
- package/dist/inputs/common/NeoInput.svelte +692 -0
- package/dist/inputs/{NeoInput.svelte.d.ts → common/NeoInput.svelte.d.ts} +3 -11
- package/dist/inputs/common/NeoInputValidation.svelte +45 -0
- package/dist/inputs/common/NeoInputValidation.svelte.d.ts +22 -0
- package/dist/inputs/common/NeoLabel.svelte +93 -0
- package/dist/inputs/common/NeoLabel.svelte.d.ts +19 -0
- package/dist/inputs/{NeoValidation.svelte → common/NeoValidation.svelte} +9 -16
- package/dist/inputs/common/NeoValidation.svelte.d.ts +22 -0
- package/dist/inputs/common/neo-affix.model.d.ts +32 -0
- package/dist/inputs/common/neo-input-validation.model.d.ts +20 -0
- package/dist/inputs/common/neo-input-validation.model.js +1 -0
- package/dist/inputs/{neo-input.model.d.ts → common/neo-input.model.d.ts} +144 -58
- package/dist/inputs/common/neo-label.model.d.ts +36 -0
- package/dist/inputs/common/neo-label.model.js +1 -0
- package/dist/inputs/common/neo-validation.model.d.ts +70 -0
- package/dist/inputs/common/neo-validation.model.js +1 -0
- package/dist/inputs/index.d.ts +21 -2
- package/dist/inputs/index.js +20 -1
- package/dist/inputs/neo-checkbox.model.d.ts +16 -0
- package/dist/inputs/neo-checkbox.model.js +1 -0
- package/dist/inputs/neo-color-picker.model.d.ts +17 -0
- package/dist/inputs/neo-color-picker.model.js +1 -0
- package/dist/inputs/neo-date-time.model.d.ts +8 -0
- package/dist/inputs/neo-date-time.model.js +1 -0
- package/dist/inputs/neo-file-picker.model.d.ts +138 -0
- package/dist/inputs/neo-file-picker.model.js +1 -0
- package/dist/inputs/neo-number-step.model.d.ts +24 -0
- package/dist/inputs/neo-number-step.model.js +1 -0
- package/dist/inputs/neo-password.model.d.ts +13 -0
- package/dist/inputs/neo-password.model.js +1 -0
- package/dist/inputs/neo-pin.model.d.ts +47 -0
- package/dist/inputs/neo-pin.model.js +1 -0
- package/dist/inputs/neo-radio.model.d.ts +10 -0
- package/dist/inputs/neo-radio.model.js +1 -0
- package/dist/inputs/neo-range.model.d.ts +149 -0
- package/dist/inputs/neo-range.model.js +1 -0
- package/dist/inputs/neo-switch.model.d.ts +16 -0
- package/dist/inputs/neo-switch.model.js +1 -0
- package/dist/nav/NeoTab.svelte +29 -25
- package/dist/nav/NeoTabPanel.svelte +1 -1
- package/dist/nav/NeoTabs.svelte +51 -44
- package/dist/nav/NeoTabsCard.svelte +8 -10
- package/dist/nav/neo-tabs-context.svelte.d.ts +2 -11
- package/dist/nav/neo-tabs-context.svelte.js +1 -41
- package/dist/nav/neo-tabs.model.d.ts +6 -0
- package/dist/providers/NeoThemeProvider.svelte +417 -305
- package/dist/providers/NeoThemeSelector.svelte +9 -9
- package/dist/providers/neo-theme-provider-context.svelte.js +1 -1
- package/dist/providers/neo-theme-selector.model.d.ts +1 -1
- package/dist/skeletons/NeoSkeletonMedia.svelte +4 -4
- package/dist/skeletons/NeoSkeletonText.svelte +12 -12
- package/dist/styles/common/colors.scss +85 -97
- package/dist/styles/common/filters.scss +17 -0
- package/dist/styles/common/shadows.scss +531 -293
- package/dist/styles/common/spacing.scss +7 -3
- package/dist/styles/common/typography.scss +1 -1
- package/dist/styles/common/utils.scss +1 -1
- package/dist/styles/common/z-index.scss +1 -1
- package/dist/styles/mixin.scss +79 -26
- package/dist/styles/reset.scss +8 -1
- package/dist/styles/theme.scss +39 -16
- package/dist/utils/html-element.utils.d.ts +3 -0
- package/dist/utils/math.utils.d.ts +1 -0
- package/dist/utils/math.utils.js +7 -0
- package/dist/utils/regex.utils.d.ts +3 -0
- package/dist/utils/regex.utils.js +3 -0
- package/dist/utils/shadow.utils.d.ts +30 -3
- package/dist/utils/shadow.utils.js +41 -14
- package/dist/utils/transition.utils.d.ts +4 -0
- package/dist/utils/transition.utils.js +10 -1
- package/dist/utils/utils.svelte.d.ts +6 -0
- package/dist/utils/utils.svelte.js +13 -0
- package/package.json +13 -12
- package/dist/inputs/NeoInput.svelte +0 -750
- package/dist/inputs/NeoValidation.svelte.d.ts +0 -22
- package/dist/inputs/neo-validation.model.d.ts +0 -40
- /package/dist/inputs/{neo-validation.model.js → common/neo-affix.model.js} +0 -0
- /package/dist/inputs/{neo-input.model.js → common/neo-input.model.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,97 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.5](https://github.com/dvcol/neo-svelte/compare/v0.1.4...v0.1.5) (2025-01-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **input:** adds basic select support ([f0a7973](https://github.com/dvcol/neo-svelte/commit/f0a797395a67017a437e9f32229d0ccc578b47a4))
|
|
11
|
+
* **input:** adds range prefix & suffix ([1c6ab9c](https://github.com/dvcol/neo-svelte/commit/1c6ab9c731a9964dc921e6f11f77a0c45a7bfaf7))
|
|
12
|
+
* **input:** adds range slider drag support ([f9c6275](https://github.com/dvcol/neo-svelte/commit/f9c6275ff0bf3cb717de94cbe75190237ca143be))
|
|
13
|
+
* **input:** adds styling to labels ([7823b84](https://github.com/dvcol/neo-svelte/commit/7823b845e58762e51dae6eba36cc42f73b3349f2))
|
|
14
|
+
* **input:** range switch to variable value ([41e491d](https://github.com/dvcol/neo-svelte/commit/41e491dd10ef6992c3e1b679edf4846c037f9e4c))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **input:** adjust range spacing ([d68bd8f](https://github.com/dvcol/neo-svelte/commit/d68bd8f2d7ebfd3c27b1d8f87aa15748eebd98be))
|
|
20
|
+
|
|
21
|
+
### [0.1.4](https://github.com/dvcol/neo-svelte/compare/v0.1.3...v0.1.4) (2024-12-31)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **affix:** refactor affix in standalone ([a5574a1](https://github.com/dvcol/neo-svelte/commit/a5574a1b7d0e8340f4ed5dee8cb0397c70165c88))
|
|
27
|
+
* **input:** adds affix to pin ([4f8d9ba](https://github.com/dvcol/neo-svelte/commit/4f8d9babfdd27c9205474f8860e876d027724e59))
|
|
28
|
+
* **input:** adds checkbox input ([c530603](https://github.com/dvcol/neo-svelte/commit/c530603c1ddd833c16b909ee30a0328e69870a04))
|
|
29
|
+
* **input:** adds date-time input ([c170a51](https://github.com/dvcol/neo-svelte/commit/c170a513fd577e75e121843493ac0b12774aee02))
|
|
30
|
+
* **input:** adds drop append for file picker ([fc4b65d](https://github.com/dvcol/neo-svelte/commit/fc4b65d5f3e9132b33930880ba4d68e9ff26331a))
|
|
31
|
+
* **input:** adds expanded files input view ([6576cc8](https://github.com/dvcol/neo-svelte/commit/6576cc868a58324cd7b121a9740517a65280fe05))
|
|
32
|
+
* **input:** adds first draft of pin input ([12cda19](https://github.com/dvcol/neo-svelte/commit/12cda1924250d66b4c47f07b90c8bc69c2c6d96d))
|
|
33
|
+
* **input:** adds flat styles for range ([f5c9f1e](https://github.com/dvcol/neo-svelte/commit/f5c9f1ebdd168f00bc8b01f66cae521c2b06d649))
|
|
34
|
+
* **input:** adds pin labels ([d3651b9](https://github.com/dvcol/neo-svelte/commit/d3651b9b36e702a4728ec80afb58e0a7435470c2))
|
|
35
|
+
* **input:** adds pin password ([2096c45](https://github.com/dvcol/neo-svelte/commit/2096c45712fee3611aa85111591c70ee3fad819e))
|
|
36
|
+
* **input:** adds pin validity check ([cf1452d](https://github.com/dvcol/neo-svelte/commit/cf1452de9211b359d05db7384390b3727f299391))
|
|
37
|
+
* **input:** adds radio input ([1e05949](https://github.com/dvcol/neo-svelte/commit/1e05949a5f80f8ef971f04dbf19d972e17205053))
|
|
38
|
+
* **input:** adds styled number input ([999e90b](https://github.com/dvcol/neo-svelte/commit/999e90b0e76a2f5a6d2d066806469d6786764118))
|
|
39
|
+
* **input:** adds switch ([99bc099](https://github.com/dvcol/neo-svelte/commit/99bc09968871fba1503116ba69af7d98e57d6dd7))
|
|
40
|
+
* **input:** adds validation to expanded file picker ([e6d9a8c](https://github.com/dvcol/neo-svelte/commit/e6d9a8c7d3d79cafcb49433c0a8883346f22f298))
|
|
41
|
+
* **input:** drag & drop file base logic ([9ea5d68](https://github.com/dvcol/neo-svelte/commit/9ea5d6840783c51913e34cf7ff0c48ebb0f9c549))
|
|
42
|
+
* **input:** drag & drop support for default file view ([251cf35](https://github.com/dvcol/neo-svelte/commit/251cf3510471834bf8ed6f94df3ce5f22a50cac9))
|
|
43
|
+
* **input:** first draft range input ([c4509e0](https://github.com/dvcol/neo-svelte/commit/c4509e02b2cc8d806496d581552e951f378b4102))
|
|
44
|
+
* **input:** inset dropzone on drag hover ([ce9311d](https://github.com/dvcol/neo-svelte/commit/ce9311d5ea736cfcaa08d3631c561c8e79e457a8))
|
|
45
|
+
* **inputs:** merge neo-button override within inputs ([5d8b5e4](https://github.com/dvcol/neo-svelte/commit/5d8b5e4869a23da5ae9fafd54acc30fb8c071d5d))
|
|
46
|
+
* **input:** split expanded input into dedicated component ([d4cdfb2](https://github.com/dvcol/neo-svelte/commit/d4cdfb2041a1947687df56e07028b23d1ec649c2))
|
|
47
|
+
* **input:** supports double range ([e1a17e5](https://github.com/dvcol/neo-svelte/commit/e1a17e5d9e6e1a5036f9e4f5a3c3a87b3c96699e))
|
|
48
|
+
* **input:** wip file picker ([deba9d8](https://github.com/dvcol/neo-svelte/commit/deba9d827e3441e5b4e50f402fa71dbc99ab6acd))
|
|
49
|
+
* **shadows:** adds convex & pressed ([52a6748](https://github.com/dvcol/neo-svelte/commit/52a67487bcb4720298bba375c65d01fd64c029db))
|
|
50
|
+
* **shadows:** adds pressed to inputs & cards ([57e8ad0](https://github.com/dvcol/neo-svelte/commit/57e8ad0fc84ac67dda0121b9f078168e8decab6d))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* **affix:** adjust styling and include disable ([a410944](https://github.com/dvcol/neo-svelte/commit/a41094427d3b8ca238535730cb887a4ca6401f2b))
|
|
56
|
+
* **affix:** move inputs to refactored affix ([7549b97](https://github.com/dvcol/neo-svelte/commit/7549b97dc0931c05822a9544b31fdda3173ee80c))
|
|
57
|
+
* **button:** rework button styling ([822518a](https://github.com/dvcol/neo-svelte/commit/822518ad9bccb0a9e933e2c54ae9b2b4ae9c29d4))
|
|
58
|
+
* **buttons:** fix flat border in glass mode ([13bda34](https://github.com/dvcol/neo-svelte/commit/13bda348e860566e33e362119e9fa26394df5172))
|
|
59
|
+
* **elevation:** change pressed default elevation ([aae3eab](https://github.com/dvcol/neo-svelte/commit/aae3eab314923da2a8a64d0a22e7ed8f4f920c62))
|
|
60
|
+
* **flex:** change inputs to inline-flex ([668acb8](https://github.com/dvcol/neo-svelte/commit/668acb8dff879ecf176fdad529b566f6f50e1e5e))
|
|
61
|
+
* **glass:** fix glass shadows and filters ([8f790cd](https://github.com/dvcol/neo-svelte/commit/8f790cd63a564ef8f48c3d0a75cffb26c19c2344))
|
|
62
|
+
* **group:** rework group to use elevation ([2301b64](https://github.com/dvcol/neo-svelte/commit/2301b64053acf65c459deb6271af0055f5f5295d))
|
|
63
|
+
* **groups:** remove shallow & inset ([4171224](https://github.com/dvcol/neo-svelte/commit/417122407c40cf4181a1523b3e740f02cac9cb34))
|
|
64
|
+
* **icon:** adds scaling option to icons ([8822a60](https://github.com/dvcol/neo-svelte/commit/8822a6016d6a7a99aa7444db7437656294f668e4))
|
|
65
|
+
* **input:** add missing context to file picker & type value ([fcc56d8](https://github.com/dvcol/neo-svelte/commit/fcc56d81d5909a7ca3bfee6b8f5cec07f785723c))
|
|
66
|
+
* **input:** adds colour picker ([a5f41e9](https://github.com/dvcol/neo-svelte/commit/a5f41e96fb7d626e949cbadd5442241a9fb7c0ea))
|
|
67
|
+
* **input:** adds disable state to file picker ([ebcc1c9](https://github.com/dvcol/neo-svelte/commit/ebcc1c94e914c2e36320fb78c928d274a8236da2))
|
|
68
|
+
* **input:** adds skeleton to affix & buttons ([fa8ab3f](https://github.com/dvcol/neo-svelte/commit/fa8ab3fb722c21c39d57ed931daea9b3e0545b68))
|
|
69
|
+
* **input:** adds transition to number ([34e5d82](https://github.com/dvcol/neo-svelte/commit/34e5d82b5a461009975b6c2f2ec52dcb6d02bfcb))
|
|
70
|
+
* **input:** adjust ios color picker & fix file validation ([aab6462](https://github.com/dvcol/neo-svelte/commit/aab64621910f6a43ed2d7014cbdf92a81fabc0ee))
|
|
71
|
+
* **input:** adjust styles to support extra long labels ([b433d07](https://github.com/dvcol/neo-svelte/commit/b433d07ab18e7c5f9cf842d6f554034f0697a03d))
|
|
72
|
+
* **input:** adjust styling for ios Safari ([c3e85b3](https://github.com/dvcol/neo-svelte/commit/c3e85b388b2b6cc2a4a439c0fd88427977f756d1))
|
|
73
|
+
* **input:** adjust various css styling in inputs ([21d2653](https://github.com/dvcol/neo-svelte/commit/21d2653147d7341650ec0a43a3e8a84ab44fffda))
|
|
74
|
+
* **input:** await tick before clearing state ([9bd0045](https://github.com/dvcol/neo-svelte/commit/9bd0045638b4300827a6f74f0e4a19807e774418))
|
|
75
|
+
* **input:** clean up styles ([b1ba008](https://github.com/dvcol/neo-svelte/commit/b1ba0082276761185753a1cddea327c0662ba393))
|
|
76
|
+
* **input:** de-correlate toggle width from spacing ([04dd1c8](https://github.com/dvcol/neo-svelte/commit/04dd1c853e5393d0e776ad71e619692de7ffdf59))
|
|
77
|
+
* **input:** emit input event on clear ([cf8731b](https://github.com/dvcol/neo-svelte/commit/cf8731bb181b92ad4aa5fc9050ea146a3a9854b3))
|
|
78
|
+
* **input:** expose container props as group props ([18415bc](https://github.com/dvcol/neo-svelte/commit/18415bce8f19b34e01001f857ad71f563bdbb3f6))
|
|
79
|
+
* **input:** fix flat styles for switch ([4f04bcf](https://github.com/dvcol/neo-svelte/commit/4f04bcf9de82b022644c22f4ff2aef3d4b25c488))
|
|
80
|
+
* **input:** fix styling with prefix & floating ([241a809](https://github.com/dvcol/neo-svelte/commit/241a80928942e2f61df95b83abf2bb3200b48724))
|
|
81
|
+
* **input:** incorrect floating condition ([6a1938a](https://github.com/dvcol/neo-svelte/commit/6a1938af3a365a45d661ffe9dad446106d923fd8))
|
|
82
|
+
* **input:** make checkbox elevation customizable ([a334e40](https://github.com/dvcol/neo-svelte/commit/a334e40ed704e662eb1c1a5242ee7effc52047f6))
|
|
83
|
+
* **input:** override neo-button in textarea after ([4d9c1c9](https://github.com/dvcol/neo-svelte/commit/4d9c1c9ca0c15352ac164ad97b6b8878f402c2e1))
|
|
84
|
+
* **input:** simplify fallback logic ([005ad27](https://github.com/dvcol/neo-svelte/commit/005ad273d1f6ef20ac1264eb17876538a4c63431))
|
|
85
|
+
* **inputs:** update styling on icons & sizing ([b3353d8](https://github.com/dvcol/neo-svelte/commit/b3353d8190a5fbb65b88eeb8ef03e963fd4cbd65))
|
|
86
|
+
* **input:** switch uses absolute positioning instead of width ([5be7a16](https://github.com/dvcol/neo-svelte/commit/5be7a16d4bba5dfffa6b4c15219517ac46644232))
|
|
87
|
+
* **input:** trigger picker on mobile & fix styling ([6838137](https://github.com/dvcol/neo-svelte/commit/6838137fd734514ca6753fa3c94af6d8571ed4bd))
|
|
88
|
+
* **input:** update state on blue by default ([3517bae](https://github.com/dvcol/neo-svelte/commit/3517baea9fab7635bf3be8e8cb7455dce95c6487))
|
|
89
|
+
* **input:** update validity on input number increment ([7a73cf2](https://github.com/dvcol/neo-svelte/commit/7a73cf2b9f3d9ee0d61c1c97d86a9cd95093a161))
|
|
90
|
+
* **mixin:** add transparent mask to border rotate & progress ([d7cb224](https://github.com/dvcol/neo-svelte/commit/d7cb2246c43bbb643c464e510973b2dcd18f836e))
|
|
91
|
+
* **nav:** move to elevation & adds pressed/convex ([9354c3b](https://github.com/dvcol/neo-svelte/commit/9354c3b91b258c7538da5b761c4ff41f6663772c))
|
|
92
|
+
* **styling:** adjust spacing to round pixels ([19caae1](https://github.com/dvcol/neo-svelte/commit/19caae1936116b909582ff7a4adae4a366f34951))
|
|
93
|
+
* **theme:** adjust glass color theme ([00c0817](https://github.com/dvcol/neo-svelte/commit/00c0817ce5930b368197f3976047fca8f728d21f))
|
|
94
|
+
* **theme:** rework glass colors & theme provider styles ([dcb0257](https://github.com/dvcol/neo-svelte/commit/dcb025713be14fd80d72348b28904b464da2c5ce))
|
|
95
|
+
|
|
5
96
|
### [0.1.3](https://github.com/dvcol/neo-svelte/compare/v0.1.2...v0.1.3) (2024-11-25)
|
|
6
97
|
|
|
7
98
|
|
package/README.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
<h1 align="center">Welcome to <i>Neo Svelte</i></h1>
|
|
2
|
+
<h3 align="center">A neo-morphic ui library for svelte 5</h3>
|
|
3
|
+
|
|
4
|
+
<p>
|
|
5
|
+
<img src="https://img.shields.io/badge/pnpm-%3E%3D8.0.0-blue.svg" />
|
|
6
|
+
<img src="https://img.shields.io/badge/node-%3E%3D20.0.0-blue.svg" />
|
|
7
|
+
<a href="https://github.com/dvcol/neo-svelte#readme" target="_blank">
|
|
8
|
+
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://github.com/dvcol/neo-svelte/graphs/commit-activity" target="_blank">
|
|
11
|
+
<img alt="Maintenance" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" />
|
|
12
|
+
</a>
|
|
13
|
+
<a href="https://github.com/dvcol/neo-svelte/blob/master/LICENSE" target="_blank">
|
|
14
|
+
<img alt="License: MIT" src="https://img.shields.io/github/license/dvcol/neo-svelte" />
|
|
15
|
+
</a>
|
|
16
|
+
<a href="https://paypal.me/dvcol/5" target="_blank">
|
|
17
|
+
<img alt="donate" src="https://img.shields.io/badge/Donate%20€-PayPal-brightgreen.svg" />
|
|
18
|
+
</a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
## Prerequisites
|
|
22
|
+
|
|
23
|
+
Note: Svelte Simple Router is a svelte 5 native library, and will not work with prior versions of svelte.
|
|
24
|
+
|
|
25
|
+
- svelte >= 5.0.0
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
pnpm add @dvcol/neo-svelte
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Getting Started
|
|
34
|
+
|
|
35
|
+
Wrap any component inside the style provider
|
|
36
|
+
|
|
37
|
+
```svelte
|
|
38
|
+
<script lang="ts">
|
|
39
|
+
import { NeoThemeProvider } from '@dvcol/neo-svelte';
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<NeoThemeProvider>
|
|
43
|
+
...
|
|
44
|
+
</NeoThemeProvider>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Then import any of the components you want to use.
|
|
48
|
+
|
|
49
|
+
See examples in the demo (code [here](https://github.com/dvcol/neo-svelte/tree/fed1b3f42e863e18968c77256527a837957b3304/demo/components), live demo [here](https://dvcol.github.io/neo-svelte/#/inputs)).
|
|
3
50
|
|
|
4
51
|
## TODO
|
|
5
52
|
- [ ] @media any-pointer:coarse any-hover:none
|
|
@@ -8,39 +55,32 @@ Neomorphic ui library for svelte 5
|
|
|
8
55
|
- [x] Card
|
|
9
56
|
- [x] Inputs
|
|
10
57
|
- [x] Password
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [
|
|
15
|
-
|
|
16
|
-
- [ ]
|
|
17
|
-
|
|
58
|
+
- [x] Pin
|
|
59
|
+
- [x] Color picker
|
|
60
|
+
- [x] checkbox
|
|
61
|
+
- [x] radio
|
|
62
|
+
- [x] Text Area
|
|
63
|
+
- [ ] @ / # tags
|
|
64
|
+
- [x] file picker
|
|
65
|
+
- [x] drag & drop
|
|
66
|
+
- [x] multiple
|
|
67
|
+
- [x] numbers
|
|
68
|
+
- [x] digits
|
|
18
69
|
- [ ] phone
|
|
19
70
|
- [ ] credit card
|
|
20
|
-
- [
|
|
21
|
-
- [
|
|
71
|
+
- [x] pin
|
|
72
|
+
- [x] time/date/week
|
|
22
73
|
- [ ] range
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
28
|
-
- [
|
|
74
|
+
- [x] switch
|
|
75
|
+
- [x] slider
|
|
76
|
+
- [X] range
|
|
77
|
+
- [X] inset
|
|
78
|
+
- [x] custom before-after
|
|
79
|
+
- [x] steps
|
|
80
|
+
- [ ] vertical
|
|
29
81
|
- [ ] select
|
|
30
|
-
- [ ]
|
|
31
|
-
|
|
32
|
-
- [ ] auto-resize
|
|
33
|
-
- [ ] @ / # tags
|
|
34
|
-
- [ ] time/date/week
|
|
35
|
-
- [ ] range
|
|
36
|
-
- [ ] switch
|
|
37
|
-
- [ ] loading
|
|
38
|
-
- [ ] border loading
|
|
39
|
-
- [ ] skeleton
|
|
40
|
-
- [ ] checkbox
|
|
41
|
-
- [ ] checkbox (square & round)
|
|
42
|
-
- [ ] radio
|
|
43
|
-
- [ ] groups
|
|
82
|
+
- [ ] table
|
|
83
|
+
- [ ] pagination
|
|
44
84
|
- [ ] auto-complete
|
|
45
85
|
- [ ] @ / # tags
|
|
46
86
|
- [ ] select
|
|
@@ -82,8 +122,27 @@ Neomorphic ui library for svelte 5
|
|
|
82
122
|
- [ ] click outside
|
|
83
123
|
- [ ] scrollbar ?
|
|
84
124
|
- [ ] container
|
|
85
|
-
- [
|
|
125
|
+
- [x] transition
|
|
86
126
|
- [ ] split/resizable
|
|
87
127
|
- [ ] flex
|
|
88
128
|
- [ ] grid
|
|
89
129
|
- [ ] masonry ?
|
|
130
|
+
|
|
131
|
+
## Author
|
|
132
|
+
|
|
133
|
+
* Github: [@dvcol](https://github.com/dvcol)
|
|
134
|
+
|
|
135
|
+
## Show your support
|
|
136
|
+
|
|
137
|
+
Give a ⭐️ if this project helped you!
|
|
138
|
+
|
|
139
|
+
<a href="https://paypal.me/dvcol/5" target="_blank">
|
|
140
|
+
<img alt="donate" src="https://img.shields.io/badge/Donate%20€-PayPal-brightgreen.svg" />
|
|
141
|
+
</a>
|
|
142
|
+
|
|
143
|
+
## 📝 License
|
|
144
|
+
|
|
145
|
+
This project is [MIT](https://github.com/dvcol/neo-svelte/blob/master/LICENSE) licensed.
|
|
146
|
+
|
|
147
|
+
***
|
|
148
|
+
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
|