webcoreui 0.10.0 → 1.0.0
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 +14 -8
- package/astro.d.ts +6 -0
- package/astro.js +4 -0
- package/components/DataTable/DataTable.astro +1 -1
- package/components/OTPInput/OTPInput.astro +96 -0
- package/components/OTPInput/OTPInput.svelte +73 -0
- package/components/OTPInput/OTPInput.tsx +93 -0
- package/components/OTPInput/otpinput.module.scss +85 -0
- package/components/OTPInput/otpinput.ts +11 -0
- package/components/Rating/Rating.svelte +1 -1
- package/components/SpeedDial/SpeedDial.astro +106 -0
- package/components/SpeedDial/SpeedDial.svelte +102 -0
- package/components/SpeedDial/SpeedDial.tsx +106 -0
- package/components/SpeedDial/speeddial.module.scss +94 -0
- package/components/SpeedDial/speeddial.ts +18 -0
- package/components/Timeline/timeline.module.scss +11 -0
- package/components/Timeline/timeline.ts +1 -1
- package/components/TimelineItem/TimelineItem.astro +12 -0
- package/components/TimelineItem/TimelineItem.svelte +7 -0
- package/components/TimelineItem/TimelineItem.tsx +8 -0
- package/components/TimelineItem/timelineitem.module.scss +16 -1
- package/components/TimelineItem/timelineitem.ts +3 -0
- package/package.json +16 -16
- package/react.d.ts +6 -0
- package/react.js +4 -0
- package/scss/global/theme.scss +77 -49
- package/svelte.d.ts +6 -0
- package/svelte.js +4 -0
package/scss/global/theme.scss
CHANGED
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
--w-color-scheme: light;
|
|
35
35
|
--w-color-primary: #000;
|
|
36
36
|
--w-color-primary-10: #111;
|
|
37
|
-
--w-color-primary-20: #
|
|
38
|
-
--w-color-primary-30: #
|
|
39
|
-
--w-color-primary-40: #
|
|
37
|
+
--w-color-primary-20: #252525;
|
|
38
|
+
--w-color-primary-30: #757575;
|
|
39
|
+
--w-color-primary-40: #BBB;
|
|
40
40
|
--w-color-primary-50: #DDD;
|
|
41
|
-
--w-color-primary-60: #
|
|
41
|
+
--w-color-primary-60: #EEE;
|
|
42
42
|
--w-color-primary-70: #FFF;
|
|
43
|
-
|
|
44
|
-
--w-color-info: #
|
|
45
|
-
--w-color-info-accent: #
|
|
46
|
-
--w-color-info-fg: #
|
|
47
|
-
--w-color-success: #
|
|
48
|
-
--w-color-success-accent: #
|
|
49
|
-
--w-color-success-fg: #
|
|
50
|
-
--w-color-warning: #
|
|
51
|
-
--w-color-warning-accent: #
|
|
52
|
-
--w-color-warning-fg: #
|
|
53
|
-
--w-color-alert: #
|
|
54
|
-
--w-color-alert-accent: #
|
|
43
|
+
|
|
44
|
+
--w-color-info: #0073A8;
|
|
45
|
+
--w-color-info-accent: #009FCC;
|
|
46
|
+
--w-color-info-fg: #FFF;
|
|
47
|
+
--w-color-success: #0A754D;
|
|
48
|
+
--w-color-success-accent: #16A062;
|
|
49
|
+
--w-color-success-fg: #FFF;
|
|
50
|
+
--w-color-warning: #C76D00;
|
|
51
|
+
--w-color-warning-accent: #E3861D;
|
|
52
|
+
--w-color-warning-fg: #FFF;
|
|
53
|
+
--w-color-alert: #A51415;
|
|
54
|
+
--w-color-alert-accent: #C62828;
|
|
55
55
|
--w-color-alert-fg: #FFF;
|
|
56
56
|
--w-color-overlay: #0000009e;
|
|
57
57
|
}
|
|
@@ -87,29 +87,29 @@
|
|
|
87
87
|
|
|
88
88
|
@if $theme == 'vintage' {
|
|
89
89
|
#{$selector} {
|
|
90
|
-
--w-color-scheme:
|
|
91
|
-
--w-color-primary: #
|
|
92
|
-
--w-color-primary-10: #
|
|
93
|
-
--w-color-primary-20: #
|
|
94
|
-
--w-color-primary-30: #
|
|
95
|
-
--w-color-primary-40: #
|
|
96
|
-
--w-color-primary-50: #
|
|
97
|
-
--w-color-primary-60: #
|
|
98
|
-
--w-color-primary-70: #
|
|
99
|
-
|
|
100
|
-
--w-color-info: #
|
|
101
|
-
--w-color-info-accent: #
|
|
102
|
-
--w-color-info-fg: #
|
|
103
|
-
--w-color-success: #
|
|
104
|
-
--w-color-success-accent: #
|
|
105
|
-
--w-color-success-fg: #
|
|
106
|
-
--w-color-warning: #
|
|
107
|
-
--w-color-warning-accent: #
|
|
90
|
+
--w-color-scheme: light;
|
|
91
|
+
--w-color-primary: #1A110D;
|
|
92
|
+
--w-color-primary-10: #2C1F18;
|
|
93
|
+
--w-color-primary-20: #8B5A3C;
|
|
94
|
+
--w-color-primary-30: #c09d82;
|
|
95
|
+
--w-color-primary-40: #B89678;
|
|
96
|
+
--w-color-primary-50: #D8BFA5;
|
|
97
|
+
--w-color-primary-60: #F0DCC4;
|
|
98
|
+
--w-color-primary-70: #F6E8DA;
|
|
99
|
+
|
|
100
|
+
--w-color-info: #3F73B7;
|
|
101
|
+
--w-color-info-accent: #4992f0;
|
|
102
|
+
--w-color-info-fg: #FFF;
|
|
103
|
+
--w-color-success: #33907f;
|
|
104
|
+
--w-color-success-accent: #1BB890;
|
|
105
|
+
--w-color-success-fg: #FFF;
|
|
106
|
+
--w-color-warning: #e08447;
|
|
107
|
+
--w-color-warning-accent: #f1985c;
|
|
108
108
|
--w-color-warning-fg: #000;
|
|
109
|
-
--w-color-alert: #
|
|
110
|
-
--w-color-alert-accent: #
|
|
109
|
+
--w-color-alert: #923B46;
|
|
110
|
+
--w-color-alert-accent: #C33F50;
|
|
111
111
|
--w-color-alert-fg: #FFF;
|
|
112
|
-
--w-color-overlay: #
|
|
112
|
+
--w-color-overlay: #33211B9E;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -145,29 +145,57 @@
|
|
|
145
145
|
#{$selector} {
|
|
146
146
|
--w-color-scheme: dark;
|
|
147
147
|
--w-color-primary: #FFF;
|
|
148
|
-
--w-color-primary-10: #
|
|
149
|
-
--w-color-primary-20: #
|
|
150
|
-
--w-color-primary-30: #
|
|
151
|
-
--w-color-primary-40: #
|
|
152
|
-
--w-color-primary-50: #
|
|
148
|
+
--w-color-primary-10: #F0F0F0;
|
|
149
|
+
--w-color-primary-20: #F6C8A9;
|
|
150
|
+
--w-color-primary-30: #E5B1FF;
|
|
151
|
+
--w-color-primary-40: #761EAA;
|
|
152
|
+
--w-color-primary-50: #912BCE;
|
|
153
153
|
--w-color-primary-60: #0f1b33;
|
|
154
|
-
--w-color-primary-70: #
|
|
154
|
+
--w-color-primary-70: #060E21;
|
|
155
155
|
|
|
156
156
|
--w-color-info: #1c98ff;
|
|
157
157
|
--w-color-info-accent: #6be4ff;
|
|
158
158
|
--w-color-info-fg: #000;
|
|
159
|
-
--w-color-success: #
|
|
160
|
-
--w-color-success-accent: #
|
|
159
|
+
--w-color-success: #7ADA00;
|
|
160
|
+
--w-color-success-accent: #A8FF4D;
|
|
161
161
|
--w-color-success-fg: #000;
|
|
162
|
-
--w-color-warning: #
|
|
163
|
-
--w-color-warning-accent: #
|
|
162
|
+
--w-color-warning: #FF912F;
|
|
163
|
+
--w-color-warning-accent: #FFA95A;
|
|
164
164
|
--w-color-warning-fg: #000;
|
|
165
|
-
--w-color-alert: #
|
|
166
|
-
--w-color-alert-accent: #
|
|
165
|
+
--w-color-alert: #F63131;
|
|
166
|
+
--w-color-alert-accent: #E84647;
|
|
167
167
|
--w-color-alert-fg: #FFF;
|
|
168
168
|
--w-color-overlay: #13002cc2;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
+
|
|
172
|
+
@if $theme == 'velvet' {
|
|
173
|
+
#{$selector} {
|
|
174
|
+
--w-color-scheme: dark;
|
|
175
|
+
--w-color-primary: #EDE0E0;
|
|
176
|
+
--w-color-primary-10: #D6C1C1;
|
|
177
|
+
--w-color-primary-20: #fab6b6;
|
|
178
|
+
--w-color-primary-30: #c47272;
|
|
179
|
+
--w-color-primary-40: #661B1B;
|
|
180
|
+
--w-color-primary-50: #520F0F;
|
|
181
|
+
--w-color-primary-60: #2E0B0B;
|
|
182
|
+
--w-color-primary-70: #180505;
|
|
183
|
+
|
|
184
|
+
--w-color-info: #36587A;
|
|
185
|
+
--w-color-info-accent: #4F7BAF;
|
|
186
|
+
--w-color-info-fg: #FFF;
|
|
187
|
+
--w-color-success: #f2b900;
|
|
188
|
+
--w-color-success-accent: #ffd341;
|
|
189
|
+
--w-color-success-fg: #000;
|
|
190
|
+
--w-color-warning: #e5601e;
|
|
191
|
+
--w-color-warning-accent: #E4783D;
|
|
192
|
+
--w-color-warning-fg: #000;
|
|
193
|
+
--w-color-alert: #B8001F;
|
|
194
|
+
--w-color-alert-accent: #E00028;
|
|
195
|
+
--w-color-alert-fg: #FFF;
|
|
196
|
+
--w-color-overlay: #13050599;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
171
199
|
}
|
|
172
200
|
|
|
173
201
|
|
package/svelte.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import type { SvelteListProps as WSvelteListProps } from './components/List/list
|
|
|
26
26
|
import type { SvelteMasonryProps as WSvelteMasonryProps } from './components/Masonry/masonry'
|
|
27
27
|
import type { SvelteMenuProps as WSvelteMenuProps } from './components/Menu/menu'
|
|
28
28
|
import type { SvelteModalProps as WSvelteModalProps } from './components/Modal/modal'
|
|
29
|
+
import type { OTPInputProps as WOTPInputProps } from './components/OTPInput/otpinput'
|
|
29
30
|
import type { SveltePaginationProps as WSveltePaginationProps } from './components/Pagination/pagination'
|
|
30
31
|
import type { SveltePopoverProps as WSveltePopoverProps } from './components/Popover/popover'
|
|
31
32
|
import type { ProgressProps as WProgressProps } from './components/Progress/progress'
|
|
@@ -37,6 +38,7 @@ import type { SvelteSheetProps as WSvelteSheetProps } from './components/Sheet/s
|
|
|
37
38
|
import type { SvelteSidebarProps as WSvelteSidebarProps } from './components/Sidebar/sidebar'
|
|
38
39
|
import type { SkeletonProps as WSkeletonProps } from './components/Skeleton/skeleton'
|
|
39
40
|
import type { SvelteSliderProps as WSvelteSliderProps } from './components/Slider/slider'
|
|
41
|
+
import type { SpeedDialProps as WSpeedDialProps } from './components/SpeedDial/speeddial'
|
|
40
42
|
import type { SpinnerProps as WSpinnerProps } from './components/Spinner/spinner'
|
|
41
43
|
import type { SvelteSpoilerProps as WSvelteSpoilerProps } from './components/Spoiler/spoiler'
|
|
42
44
|
import type { StepperProps as WStepperProps } from './components/Stepper/stepper'
|
|
@@ -82,6 +84,7 @@ declare module 'webcoreui/svelte' {
|
|
|
82
84
|
export const Masonry: Component<WSvelteMasonryProps>
|
|
83
85
|
export const Menu: Component<WSvelteMenuProps>
|
|
84
86
|
export const Modal: Component<WSvelteModalProps>
|
|
87
|
+
export const OTPInput: Component<WOTPInputProps>
|
|
85
88
|
export const Pagination: Component<WSveltePaginationProps>
|
|
86
89
|
export const Popover: Component<WSveltePopoverProps>
|
|
87
90
|
export const Progress: Component<WProgressProps>
|
|
@@ -93,6 +96,7 @@ declare module 'webcoreui/svelte' {
|
|
|
93
96
|
export const Sidebar: Component<WSvelteSidebarProps>
|
|
94
97
|
export const Skeleton: Component<WSkeletonProps>
|
|
95
98
|
export const Slider: Component<WSvelteSliderProps>
|
|
99
|
+
export const SpeedDial: Component<WSpeedDialProps>
|
|
96
100
|
export const Spinner: Component<WSpinnerProps>
|
|
97
101
|
export const Spoiler: Component<WSvelteSpoilerProps>
|
|
98
102
|
export const Stepper: Component<WStepperProps>
|
|
@@ -132,6 +136,7 @@ declare module 'webcoreui/svelte' {
|
|
|
132
136
|
export type MasonryProps = WSvelteMasonryProps
|
|
133
137
|
export type MenuProps = WSvelteMenuProps
|
|
134
138
|
export type ModalProps = WSvelteModalProps
|
|
139
|
+
export type OTPInputProps = WOTPInputProps
|
|
135
140
|
export type PaginationProps = WSveltePaginationProps
|
|
136
141
|
export type PopoverProps = WSveltePopoverProps
|
|
137
142
|
export type ProgressProps = WProgressProps
|
|
@@ -143,6 +148,7 @@ declare module 'webcoreui/svelte' {
|
|
|
143
148
|
export type SidebarProps = WSvelteSidebarProps
|
|
144
149
|
export type SkeletonProps = WSkeletonProps
|
|
145
150
|
export type SliderProps = WSvelteSliderProps
|
|
151
|
+
export type SpeedDialProps = WSpeedDialProps
|
|
146
152
|
export type SpinnerProps = WSpinnerProps
|
|
147
153
|
export type SpoilerProps = WSvelteSpoilerProps
|
|
148
154
|
export type StepperProps = WStepperProps
|
package/svelte.js
CHANGED
|
@@ -25,6 +25,7 @@ import ListComponent from './components/List/List.svelte'
|
|
|
25
25
|
import MasonryComponent from './components/Masonry/Masonry.svelte'
|
|
26
26
|
import MenuComponent from './components/Menu/Menu.svelte'
|
|
27
27
|
import ModalComponent from './components/Modal/Modal.svelte'
|
|
28
|
+
import OTPInputComponent from './components/OTPInput/OTPInput.svelte'
|
|
28
29
|
import PaginationComponent from './components/Pagination/Pagination.svelte'
|
|
29
30
|
import PopoverComponent from './components/Popover/Popover.svelte'
|
|
30
31
|
import ProgressComponent from './components/Progress/Progress.svelte'
|
|
@@ -36,6 +37,7 @@ import SheetComponent from './components/Sheet/Sheet.svelte'
|
|
|
36
37
|
import SidebarComponent from './components/Sidebar/Sidebar.svelte'
|
|
37
38
|
import SkeletonComponent from './components/Skeleton/Skeleton.svelte'
|
|
38
39
|
import SliderComponent from './components/Slider/Slider.svelte'
|
|
40
|
+
import SpeedDialComponent from './components/SpeedDial/SpeedDial.svelte'
|
|
39
41
|
import SpinnerComponent from './components/Spinner/Spinner.svelte'
|
|
40
42
|
import SpoilerComponent from './components/Spoiler/Spoiler.svelte'
|
|
41
43
|
import StepperComponent from './components/Stepper/Stepper.svelte'
|
|
@@ -75,6 +77,7 @@ export const List = ListComponent
|
|
|
75
77
|
export const Masonry = MasonryComponent
|
|
76
78
|
export const Menu = MenuComponent
|
|
77
79
|
export const Modal = ModalComponent
|
|
80
|
+
export const OTPInput = OTPInputComponent
|
|
78
81
|
export const Pagination = PaginationComponent
|
|
79
82
|
export const Popover = PopoverComponent
|
|
80
83
|
export const Progress = ProgressComponent
|
|
@@ -86,6 +89,7 @@ export const Sheet = SheetComponent
|
|
|
86
89
|
export const Sidebar = SidebarComponent
|
|
87
90
|
export const Skeleton = SkeletonComponent
|
|
88
91
|
export const Slider = SliderComponent
|
|
92
|
+
export const SpeedDial = SpeedDialComponent
|
|
89
93
|
export const Spinner = SpinnerComponent
|
|
90
94
|
export const Spoiler = SpoilerComponent
|
|
91
95
|
export const Stepper = StepperComponent
|