@gluhar/theme 2.0.3 → 3.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/CHANGELOG.md +24 -0
- package/README.md +2 -47
- package/dist/module.d.mts +0 -4
- package/dist/module.d.ts +0 -4
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -9
- package/dist/runtime/tailwind/gluharTheme.js +3 -27
- package/dist/runtime/tailwind/handleTailwind.js +1 -5
- package/package.json +3 -6
- package/dist/runtime/presets/lara/accordion/index.d.ts +0 -49
- package/dist/runtime/presets/lara/accordion/index.js +0 -78
- package/dist/runtime/presets/lara/autocomplete/index.d.ts +0 -200
- package/dist/runtime/presets/lara/autocomplete/index.js +0 -259
- package/dist/runtime/presets/lara/avatar/index.d.ts +0 -83
- package/dist/runtime/presets/lara/avatar/index.js +0 -43
- package/dist/runtime/presets/lara/avatargroup/index.d.ts +0 -7
- package/dist/runtime/presets/lara/avatargroup/index.js +0 -5
- package/dist/runtime/presets/lara/badge/index.d.ts +0 -72
- package/dist/runtime/presets/lara/badge/index.js +0 -43
- package/dist/runtime/presets/lara/badgedirective/index.d.ts +0 -50
- package/dist/runtime/presets/lara/badgedirective/index.js +0 -43
- package/dist/runtime/presets/lara/blockui/index.d.ts +0 -11
- package/dist/runtime/presets/lara/blockui/index.js +0 -8
- package/dist/runtime/presets/lara/breadcrumb/index.d.ts +0 -23
- package/dist/runtime/presets/lara/breadcrumb/index.js +0 -64
- package/dist/runtime/presets/lara/button/index.d.ts +0 -3790
- package/dist/runtime/presets/lara/button/index.js +0 -220
- package/dist/runtime/presets/lara/calendar/index.d.ts +0 -334
- package/dist/runtime/presets/lara/calendar/index.js +0 -643
- package/dist/runtime/presets/lara/card/index.d.ts +0 -27
- package/dist/runtime/presets/lara/card/index.js +0 -37
- package/dist/runtime/presets/lara/carousel/index.d.ts +0 -71
- package/dist/runtime/presets/lara/carousel/index.js +0 -149
- package/dist/runtime/presets/lara/cascadeselect/index.d.ts +0 -112
- package/dist/runtime/presets/lara/cascadeselect/index.js +0 -209
- package/dist/runtime/presets/lara/checkbox/index.d.ts +0 -45
- package/dist/runtime/presets/lara/checkbox/index.js +0 -101
- package/dist/runtime/presets/lara/chip/index.d.ts +0 -23
- package/dist/runtime/presets/lara/chip/index.js +0 -45
- package/dist/runtime/presets/lara/chips/index.d.ts +0 -56
- package/dist/runtime/presets/lara/chips/index.js +0 -114
- package/dist/runtime/presets/lara/colorpicker/index.d.ts +0 -51
- package/dist/runtime/presets/lara/colorpicker/index.js +0 -123
- package/dist/runtime/presets/lara/confirmpopup/index.d.ts +0 -39
- package/dist/runtime/presets/lara/confirmpopup/index.js +0 -106
- package/dist/runtime/presets/lara/contextmenu/index.d.ts +0 -72
- package/dist/runtime/presets/lara/contextmenu/index.js +0 -125
- package/dist/runtime/presets/lara/datatable/index.d.ts +0 -695
- package/dist/runtime/presets/lara/datatable/index.js +0 -1170
- package/dist/runtime/presets/lara/dataview/index.d.ts +0 -15
- package/dist/runtime/presets/lara/dataview/index.js +0 -40
- package/dist/runtime/presets/lara/dataviewlayoutoptions/index.d.ts +0 -13
- package/dist/runtime/presets/lara/dataviewlayoutoptions/index.js +0 -62
- package/dist/runtime/presets/lara/deferred/index.d.ts +0 -4
- package/dist/runtime/presets/lara/deferred/index.js +0 -3
- package/dist/runtime/presets/lara/dialog/index.d.ts +0 -79
- package/dist/runtime/presets/lara/dialog/index.js +0 -235
- package/dist/runtime/presets/lara/divider/index.d.ts +0 -192
- package/dist/runtime/presets/lara/divider/index.js +0 -67
- package/dist/runtime/presets/lara/dock/index.d.ts +0 -51
- package/dist/runtime/presets/lara/dock/index.js +0 -93
- package/dist/runtime/presets/lara/dropdown/index.d.ts +0 -207
- package/dist/runtime/presets/lara/dropdown/index.js +0 -265
- package/dist/runtime/presets/lara/fieldset/index.d.ts +0 -87
- package/dist/runtime/presets/lara/fieldset/index.js +0 -84
- package/dist/runtime/presets/lara/fileupload/index.d.ts +0 -70
- package/dist/runtime/presets/lara/fileupload/index.js +0 -173
- package/dist/runtime/presets/lara/floatlabel/index.d.ts +0 -7
- package/dist/runtime/presets/lara/floatlabel/index.js +0 -26
- package/dist/runtime/presets/lara/galleria/index.d.ts +0 -194
- package/dist/runtime/presets/lara/galleria/index.js +0 -306
- package/dist/runtime/presets/lara/global.d.ts +0 -4
- package/dist/runtime/presets/lara/global.js +0 -90
- package/dist/runtime/presets/lara/iconfield/index.d.ts +0 -18
- package/dist/runtime/presets/lara/iconfield/index.js +0 -22
- package/dist/runtime/presets/lara/image/index.d.ts +0 -65
- package/dist/runtime/presets/lara/image/index.js +0 -206
- package/dist/runtime/presets/lara/index.d.ts +0 -187
- package/dist/runtime/presets/lara/index.js +0 -207
- package/dist/runtime/presets/lara/inlinemessage/index.d.ts +0 -55
- package/dist/runtime/presets/lara/inlinemessage/index.js +0 -36
- package/dist/runtime/presets/lara/inplace/index.d.ts +0 -7
- package/dist/runtime/presets/lara/inplace/index.js +0 -27
- package/dist/runtime/presets/lara/inputgroup/index.d.ts +0 -7
- package/dist/runtime/presets/lara/inputgroup/index.js +0 -5
- package/dist/runtime/presets/lara/inputgroupaddon/index.d.ts +0 -7
- package/dist/runtime/presets/lara/inputgroupaddon/index.js +0 -28
- package/dist/runtime/presets/lara/inputmask/index.d.ts +0 -27
- package/dist/runtime/presets/lara/inputmask/index.js +0 -34
- package/dist/runtime/presets/lara/inputnumber/index.d.ts +0 -390
- package/dist/runtime/presets/lara/inputnumber/index.js +0 -164
- package/dist/runtime/presets/lara/inputotp/index.d.ts +0 -147
- package/dist/runtime/presets/lara/inputotp/index.js +0 -60
- package/dist/runtime/presets/lara/inputswitch/index.d.ts +0 -67
- package/dist/runtime/presets/lara/inputswitch/index.js +0 -80
- package/dist/runtime/presets/lara/inputtext/index.d.ts +0 -160
- package/dist/runtime/presets/lara/inputtext/index.js +0 -49
- package/dist/runtime/presets/lara/knob/index.d.ts +0 -22
- package/dist/runtime/presets/lara/knob/index.js +0 -44
- package/dist/runtime/presets/lara/listbox/index.d.ts +0 -93
- package/dist/runtime/presets/lara/listbox/index.js +0 -152
- package/dist/runtime/presets/lara/megamenu/index.d.ts +0 -105
- package/dist/runtime/presets/lara/megamenu/index.js +0 -199
- package/dist/runtime/presets/lara/menu/index.d.ts +0 -40
- package/dist/runtime/presets/lara/menu/index.js +0 -96
- package/dist/runtime/presets/lara/menubar/index.d.ts +0 -85
- package/dist/runtime/presets/lara/menubar/index.js +0 -176
- package/dist/runtime/presets/lara/message/index.d.ts +0 -70
- package/dist/runtime/presets/lara/message/index.js +0 -87
- package/dist/runtime/presets/lara/metergroup/index.d.ts +0 -92
- package/dist/runtime/presets/lara/metergroup/index.js +0 -97
- package/dist/runtime/presets/lara/multiselect/index.d.ts +0 -260
- package/dist/runtime/presets/lara/multiselect/index.js +0 -546
- package/dist/runtime/presets/lara/orderlist/index.d.ts +0 -99
- package/dist/runtime/presets/lara/orderlist/index.js +0 -257
- package/dist/runtime/presets/lara/organizationchart/index.d.ts +0 -81
- package/dist/runtime/presets/lara/organizationchart/index.js +0 -138
- package/dist/runtime/presets/lara/overlaypanel/index.d.ts +0 -17
- package/dist/runtime/presets/lara/overlaypanel/index.js +0 -40
- package/dist/runtime/presets/lara/paginator/index.d.ts +0 -280
- package/dist/runtime/presets/lara/paginator/index.js +0 -533
- package/dist/runtime/presets/lara/panel/index.d.ts +0 -39
- package/dist/runtime/presets/lara/panel/index.js +0 -91
- package/dist/runtime/presets/lara/panelmenu/index.d.ts +0 -76
- package/dist/runtime/presets/lara/panelmenu/index.js +0 -127
- package/dist/runtime/presets/lara/password/index.d.ts +0 -181
- package/dist/runtime/presets/lara/password/index.js +0 -118
- package/dist/runtime/presets/lara/picklist/index.d.ts +0 -245
- package/dist/runtime/presets/lara/picklist/index.js +0 -650
- package/dist/runtime/presets/lara/progressbar/index.d.ts +0 -44
- package/dist/runtime/presets/lara/progressbar/index.js +0 -55
- package/dist/runtime/presets/lara/progressspinner/index.d.ts +0 -15
- package/dist/runtime/presets/lara/progressspinner/index.js +0 -51
- package/dist/runtime/presets/lara/radiobutton/index.d.ts +0 -57
- package/dist/runtime/presets/lara/radiobutton/index.js +0 -104
- package/dist/runtime/presets/lara/rating/index.d.ts +0 -49
- package/dist/runtime/presets/lara/rating/index.js +0 -92
- package/dist/runtime/presets/lara/ripple/index.d.ts +0 -8
- package/dist/runtime/presets/lara/ripple/index.js +0 -6
- package/dist/runtime/presets/lara/scrollpanel/index.d.ts +0 -19
- package/dist/runtime/presets/lara/scrollpanel/index.js +0 -77
- package/dist/runtime/presets/lara/scrolltop/index.d.ts +0 -50
- package/dist/runtime/presets/lara/scrolltop/index.js +0 -41
- package/dist/runtime/presets/lara/selectbutton/index.d.ts +0 -56
- package/dist/runtime/presets/lara/selectbutton/index.js +0 -49
- package/dist/runtime/presets/lara/sidebar/index.d.ts +0 -66
- package/dist/runtime/presets/lara/sidebar/index.js +0 -149
- package/dist/runtime/presets/lara/skeleton/index.d.ts +0 -16
- package/dist/runtime/presets/lara/skeleton/index.js +0 -16
- package/dist/runtime/presets/lara/slider/index.d.ts +0 -55
- package/dist/runtime/presets/lara/slider/index.js +0 -137
- package/dist/runtime/presets/lara/speeddial/index.d.ts +0 -3091
- package/dist/runtime/presets/lara/speeddial/index.js +0 -283
- package/dist/runtime/presets/lara/splitbutton/index.d.ts +0 -6749
- package/dist/runtime/presets/lara/splitbutton/index.js +0 -502
- package/dist/runtime/presets/lara/splitter/index.d.ts +0 -30
- package/dist/runtime/presets/lara/splitter/index.js +0 -61
- package/dist/runtime/presets/lara/splitterpanel/index.d.ts +0 -10
- package/dist/runtime/presets/lara/splitterpanel/index.js +0 -5
- package/dist/runtime/presets/lara/stepper/index.d.ts +0 -66
- package/dist/runtime/presets/lara/stepper/index.js +0 -161
- package/dist/runtime/presets/lara/steps/index.d.ts +0 -57
- package/dist/runtime/presets/lara/steps/index.js +0 -111
- package/dist/runtime/presets/lara/tabmenu/index.d.ts +0 -43
- package/dist/runtime/presets/lara/tabmenu/index.js +0 -73
- package/dist/runtime/presets/lara/tabview/index.d.ts +0 -67
- package/dist/runtime/presets/lara/tabview/index.js +0 -156
- package/dist/runtime/presets/lara/tag/index.d.ts +0 -32
- package/dist/runtime/presets/lara/tag/index.js +0 -36
- package/dist/runtime/presets/lara/terminal/index.d.ts +0 -27
- package/dist/runtime/presets/lara/terminal/index.js +0 -60
- package/dist/runtime/presets/lara/textarea/index.d.ts +0 -27
- package/dist/runtime/presets/lara/textarea/index.js +0 -36
- package/dist/runtime/presets/lara/tieredmenu/index.d.ts +0 -56
- package/dist/runtime/presets/lara/tieredmenu/index.js +0 -120
- package/dist/runtime/presets/lara/timeline/index.d.ts +0 -84
- package/dist/runtime/presets/lara/timeline/index.js +0 -81
- package/dist/runtime/presets/lara/toast/index.d.ts +0 -92
- package/dist/runtime/presets/lara/toast/index.js +0 -102
- package/dist/runtime/presets/lara/togglebutton/index.d.ts +0 -72
- package/dist/runtime/presets/lara/togglebutton/index.js +0 -91
- package/dist/runtime/presets/lara/toolbar/index.d.ts +0 -19
- package/dist/runtime/presets/lara/toolbar/index.js +0 -28
- package/dist/runtime/presets/lara/tooltip/index.d.ts +0 -38
- package/dist/runtime/presets/lara/tooltip/index.js +0 -46
- package/dist/runtime/presets/lara/tree/index.d.ts +0 -105
- package/dist/runtime/presets/lara/tree/index.js +0 -258
- package/dist/runtime/presets/lara/treeselect/index.d.ts +0 -181
- package/dist/runtime/presets/lara/treeselect/index.js +0 -352
- package/dist/runtime/presets/lara/treetable/index.d.ts +0 -316
- package/dist/runtime/presets/lara/treetable/index.js +0 -434
- package/dist/runtime/presets/lara/tristatecheckbox/index.d.ts +0 -49
- package/dist/runtime/presets/lara/tristatecheckbox/index.js +0 -104
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
// Position and Overflow
|
|
5
|
-
'overflow-hidden',
|
|
6
|
-
'relative',
|
|
7
|
-
|
|
8
|
-
// Shape and Size
|
|
9
|
-
'border-0',
|
|
10
|
-
'h-6',
|
|
11
|
-
'rounded-md',
|
|
12
|
-
|
|
13
|
-
// Colors
|
|
14
|
-
'bg-surface-100 dark:bg-surface-700'
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
value: ({ props }) => ({
|
|
18
|
-
class: [
|
|
19
|
-
// Flexbox & Overflow & Position
|
|
20
|
-
{ 'absolute flex items-center justify-center overflow-hidden': props.mode !== 'indeterminate' },
|
|
21
|
-
|
|
22
|
-
// Colors
|
|
23
|
-
'bg-primary-500 dark:bg-primary-400',
|
|
24
|
-
|
|
25
|
-
// Spacing & Sizing
|
|
26
|
-
'm-0',
|
|
27
|
-
{ 'h-full w-0': props.mode !== 'indeterminate' },
|
|
28
|
-
|
|
29
|
-
// Shape
|
|
30
|
-
'border-0',
|
|
31
|
-
|
|
32
|
-
// Transitions
|
|
33
|
-
{
|
|
34
|
-
'transition-width duration-1000 ease-in-out': props.mode !== 'indeterminate',
|
|
35
|
-
'progressbar-value-animate': props.mode == 'indeterminate'
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
// Before & After (indeterminate)
|
|
39
|
-
{
|
|
40
|
-
'before:absolute before:top-0 before:left-0 before:bottom-0 before:bg-inherit ': props.mode == 'indeterminate',
|
|
41
|
-
'after:absolute after:top-0 after:left-0 after:bottom-0 after:bg-inherit after:delay-1000': props.mode == 'indeterminate'
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
}),
|
|
45
|
-
label: {
|
|
46
|
-
class: [
|
|
47
|
-
// Flexbox
|
|
48
|
-
'inline-flex',
|
|
49
|
-
|
|
50
|
-
// Font and Text
|
|
51
|
-
'text-white dark:text-surface-900',
|
|
52
|
-
'leading-6'
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace root {
|
|
3
|
-
let _class: string[];
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
namespace spinner {
|
|
7
|
-
let _class_1: string[];
|
|
8
|
-
export { _class_1 as class };
|
|
9
|
-
}
|
|
10
|
-
namespace circle {
|
|
11
|
-
let _class_2: string[];
|
|
12
|
-
export { _class_2 as class };
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export default _default;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
// Position
|
|
5
|
-
'relative',
|
|
6
|
-
'mx-auto',
|
|
7
|
-
|
|
8
|
-
// Sizing
|
|
9
|
-
'w-28',
|
|
10
|
-
'h-28',
|
|
11
|
-
|
|
12
|
-
// Flexbox
|
|
13
|
-
'inline-block',
|
|
14
|
-
|
|
15
|
-
// Pseudo-Elements
|
|
16
|
-
'before:block',
|
|
17
|
-
'before:pt-full'
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
spinner: {
|
|
21
|
-
class: [
|
|
22
|
-
// Position
|
|
23
|
-
'absolute',
|
|
24
|
-
'top-0',
|
|
25
|
-
'bottom-0',
|
|
26
|
-
'left-0',
|
|
27
|
-
'right-0',
|
|
28
|
-
'm-auto',
|
|
29
|
-
|
|
30
|
-
// Sizing
|
|
31
|
-
'w-full',
|
|
32
|
-
'h-full',
|
|
33
|
-
|
|
34
|
-
// Transformations
|
|
35
|
-
'transform',
|
|
36
|
-
'origin-center',
|
|
37
|
-
|
|
38
|
-
// Animations
|
|
39
|
-
'animate-spin'
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
circle: {
|
|
43
|
-
class: [
|
|
44
|
-
// Colors
|
|
45
|
-
'text-red-500',
|
|
46
|
-
|
|
47
|
-
// Misc
|
|
48
|
-
'progress-spinner-circle'
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace root {
|
|
3
|
-
let _class: string[];
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
function box({ props }: {
|
|
7
|
-
props: any;
|
|
8
|
-
}): {
|
|
9
|
-
class: (string | {
|
|
10
|
-
'text-surface-700 dark:text-white/80': boolean;
|
|
11
|
-
'bg-surface-0 dark:bg-surface-900': boolean;
|
|
12
|
-
'border-surface-300 dark:border-surface-700': boolean;
|
|
13
|
-
'border-primary-500 dark:border-primary-400': boolean;
|
|
14
|
-
'bg-primary-500 dark:bg-primary-400': boolean;
|
|
15
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
16
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
|
|
17
|
-
'peer-hover:border-primary-600 dark:peer-hover:border-primary-300 peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300'?: undefined;
|
|
18
|
-
'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20'?: undefined;
|
|
19
|
-
'opacity-60 cursor-default'?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
'border-red-500 dark:border-red-400': any;
|
|
22
|
-
'text-surface-700 dark:text-white/80'?: undefined;
|
|
23
|
-
'bg-surface-0 dark:bg-surface-900'?: undefined;
|
|
24
|
-
'border-surface-300 dark:border-surface-700'?: undefined;
|
|
25
|
-
'border-primary-500 dark:border-primary-400'?: undefined;
|
|
26
|
-
'bg-primary-500 dark:bg-primary-400'?: undefined;
|
|
27
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
|
|
28
|
-
'peer-hover:border-primary-600 dark:peer-hover:border-primary-300 peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300'?: undefined;
|
|
29
|
-
'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20'?: undefined;
|
|
30
|
-
'opacity-60 cursor-default'?: undefined;
|
|
31
|
-
} | {
|
|
32
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': boolean;
|
|
33
|
-
'peer-hover:border-primary-600 dark:peer-hover:border-primary-300 peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300': boolean;
|
|
34
|
-
'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20': boolean;
|
|
35
|
-
'opacity-60 cursor-default': any;
|
|
36
|
-
'text-surface-700 dark:text-white/80'?: undefined;
|
|
37
|
-
'bg-surface-0 dark:bg-surface-900'?: undefined;
|
|
38
|
-
'border-surface-300 dark:border-surface-700'?: undefined;
|
|
39
|
-
'border-primary-500 dark:border-primary-400'?: undefined;
|
|
40
|
-
'bg-primary-500 dark:bg-primary-400'?: undefined;
|
|
41
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
42
|
-
})[];
|
|
43
|
-
};
|
|
44
|
-
namespace input {
|
|
45
|
-
let _class_1: string[];
|
|
46
|
-
export { _class_1 as class };
|
|
47
|
-
}
|
|
48
|
-
function icon({ props }: {
|
|
49
|
-
props: any;
|
|
50
|
-
}): {
|
|
51
|
-
class: (string | {
|
|
52
|
-
'backface-hidden scale-10 invisible': boolean;
|
|
53
|
-
'transform visible scale-[1.1]': boolean;
|
|
54
|
-
})[];
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
export default _default;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
'relative',
|
|
5
|
-
|
|
6
|
-
// Flexbox & Alignment
|
|
7
|
-
'inline-flex',
|
|
8
|
-
'align-bottom',
|
|
9
|
-
|
|
10
|
-
// Size
|
|
11
|
-
'w-[1.571rem] h-[1.571rem]',
|
|
12
|
-
|
|
13
|
-
// Misc
|
|
14
|
-
'cursor-pointer',
|
|
15
|
-
'select-none'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
box: ({ props }) => ({
|
|
19
|
-
class: [
|
|
20
|
-
// Flexbox
|
|
21
|
-
'flex justify-center items-center',
|
|
22
|
-
|
|
23
|
-
// Size
|
|
24
|
-
'w-[1.571rem] h-[1.571rem]',
|
|
25
|
-
|
|
26
|
-
// Shape
|
|
27
|
-
'border-2',
|
|
28
|
-
'rounded-full',
|
|
29
|
-
|
|
30
|
-
// Transition
|
|
31
|
-
'transition duration-200 ease-in-out',
|
|
32
|
-
|
|
33
|
-
// Colors
|
|
34
|
-
{
|
|
35
|
-
'text-surface-700 dark:text-white/80': props.value !== props.modelValue && props.value !== undefined,
|
|
36
|
-
'bg-surface-0 dark:bg-surface-900': props.value !== props.modelValue && props.value !== undefined,
|
|
37
|
-
'border-surface-300 dark:border-surface-700': props.value !== props.modelValue && props.value !== undefined && !props.invalid,
|
|
38
|
-
'border-primary-500 dark:border-primary-400': props.value == props.modelValue && props.value !== undefined,
|
|
39
|
-
'bg-primary-500 dark:bg-primary-400': props.value == props.modelValue && props.value !== undefined
|
|
40
|
-
},
|
|
41
|
-
// Invalid State
|
|
42
|
-
{ 'border-red-500 dark:border-red-400': props.invalid },
|
|
43
|
-
|
|
44
|
-
// States
|
|
45
|
-
{
|
|
46
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': !props.disabled && !props.invalid,
|
|
47
|
-
'peer-hover:border-primary-600 dark:peer-hover:border-primary-300 peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300': !props.disabled && props.value == props.modelValue && props.value !== undefined,
|
|
48
|
-
'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20': !props.disabled,
|
|
49
|
-
'opacity-60 cursor-default': props.disabled
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}),
|
|
53
|
-
input: {
|
|
54
|
-
class: [
|
|
55
|
-
'peer',
|
|
56
|
-
|
|
57
|
-
// Size
|
|
58
|
-
'w-full ',
|
|
59
|
-
'h-full',
|
|
60
|
-
|
|
61
|
-
// Position
|
|
62
|
-
'absolute',
|
|
63
|
-
'top-0 left-0',
|
|
64
|
-
'z-10',
|
|
65
|
-
|
|
66
|
-
// Spacing
|
|
67
|
-
'p-0',
|
|
68
|
-
'm-0',
|
|
69
|
-
|
|
70
|
-
// Shape
|
|
71
|
-
'opacity-0',
|
|
72
|
-
'rounded-md',
|
|
73
|
-
'outline-none',
|
|
74
|
-
'border-2 border-surface-200 dark:border-surface-700',
|
|
75
|
-
|
|
76
|
-
// Misc
|
|
77
|
-
'appearance-none',
|
|
78
|
-
'cursor-pointer'
|
|
79
|
-
]
|
|
80
|
-
},
|
|
81
|
-
icon: ({ props }) => ({
|
|
82
|
-
class: [
|
|
83
|
-
'block',
|
|
84
|
-
|
|
85
|
-
// Shape
|
|
86
|
-
'rounded-full',
|
|
87
|
-
|
|
88
|
-
// Size
|
|
89
|
-
'w-[0.857rem] h-[0.857rem]',
|
|
90
|
-
|
|
91
|
-
// Colors
|
|
92
|
-
'bg-surface-0 dark:bg-surface-900',
|
|
93
|
-
|
|
94
|
-
// Conditions
|
|
95
|
-
{
|
|
96
|
-
'backface-hidden scale-10 invisible': props.value !== props.modelValue,
|
|
97
|
-
'transform visible scale-[1.1]': props.value == props.modelValue
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
// Transition
|
|
101
|
-
'transition duration-200'
|
|
102
|
-
]
|
|
103
|
-
})
|
|
104
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: (string | {
|
|
6
|
-
'opacity-60 select-none pointer-events-none cursor-default': any;
|
|
7
|
-
})[];
|
|
8
|
-
};
|
|
9
|
-
function cancelitem({ context }: {
|
|
10
|
-
context: any;
|
|
11
|
-
}): {
|
|
12
|
-
class: (string | {
|
|
13
|
-
'outline-none ring ring-primary-500/50 dark:ring-primary-400/50': any;
|
|
14
|
-
})[];
|
|
15
|
-
};
|
|
16
|
-
namespace cancelicon {
|
|
17
|
-
let _class: string[];
|
|
18
|
-
export { _class as class };
|
|
19
|
-
}
|
|
20
|
-
function item({ props, context }: {
|
|
21
|
-
props: any;
|
|
22
|
-
context: any;
|
|
23
|
-
}): {
|
|
24
|
-
class: (string | {
|
|
25
|
-
'outline-none ring ring-primary-500/50 dark:ring-primary-400/50': any;
|
|
26
|
-
'cursor-pointer'?: undefined;
|
|
27
|
-
'cursor-default'?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
'cursor-pointer': boolean;
|
|
30
|
-
'cursor-default': any;
|
|
31
|
-
'outline-none ring ring-primary-500/50 dark:ring-primary-400/50'?: undefined;
|
|
32
|
-
})[];
|
|
33
|
-
};
|
|
34
|
-
function officon({ props }: {
|
|
35
|
-
props: any;
|
|
36
|
-
}): {
|
|
37
|
-
class: (string | {
|
|
38
|
-
'hover:text-primary-500 dark:hover:text-primary-400': boolean;
|
|
39
|
-
})[];
|
|
40
|
-
};
|
|
41
|
-
function onicon({ props }: {
|
|
42
|
-
props: any;
|
|
43
|
-
}): {
|
|
44
|
-
class: (string | {
|
|
45
|
-
'hover:text-primary-600 dark:hover:text-primary-300': boolean;
|
|
46
|
-
})[];
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
export default _default;
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
'relative',
|
|
5
|
-
|
|
6
|
-
// Flex & Alignment
|
|
7
|
-
'flex items-center',
|
|
8
|
-
'gap-2',
|
|
9
|
-
|
|
10
|
-
// Misc
|
|
11
|
-
{
|
|
12
|
-
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
}),
|
|
16
|
-
cancelitem: ({ context }) => ({
|
|
17
|
-
class: [
|
|
18
|
-
// Flex & Alignment
|
|
19
|
-
'inline-flex items-center',
|
|
20
|
-
|
|
21
|
-
//State
|
|
22
|
-
{
|
|
23
|
-
'outline-none ring ring-primary-500/50 dark:ring-primary-400/50': context.focused
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
// Misc
|
|
27
|
-
'cursor-pointer'
|
|
28
|
-
]
|
|
29
|
-
}),
|
|
30
|
-
cancelicon: {
|
|
31
|
-
class: [
|
|
32
|
-
// Size
|
|
33
|
-
'w-5 h-5',
|
|
34
|
-
|
|
35
|
-
// Color
|
|
36
|
-
'text-red-500 dark:text-red-400',
|
|
37
|
-
|
|
38
|
-
// State
|
|
39
|
-
'hover:text-red-600 dark:hover:text-red-300',
|
|
40
|
-
|
|
41
|
-
// Transition
|
|
42
|
-
'transition duration-200 ease-in'
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
item: ({ props, context }) => ({
|
|
46
|
-
class: [
|
|
47
|
-
// Flex & Alignment
|
|
48
|
-
'inline-flex items-center',
|
|
49
|
-
|
|
50
|
-
// State
|
|
51
|
-
{
|
|
52
|
-
'outline-none ring ring-primary-500/50 dark:ring-primary-400/50': context.focused
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
// Misc
|
|
56
|
-
{
|
|
57
|
-
'cursor-pointer': !props.readonly,
|
|
58
|
-
'cursor-default': props.readonly
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}),
|
|
62
|
-
officon: ({ props }) => ({
|
|
63
|
-
class: [
|
|
64
|
-
// Size
|
|
65
|
-
'w-5 h-5',
|
|
66
|
-
|
|
67
|
-
// Color
|
|
68
|
-
'text-surface-700 dark:text-surface-0/80',
|
|
69
|
-
|
|
70
|
-
// State
|
|
71
|
-
{ 'hover:text-primary-500 dark:hover:text-primary-400': !props.readonly },
|
|
72
|
-
|
|
73
|
-
// Transition
|
|
74
|
-
'transition duration-200 ease-in'
|
|
75
|
-
]
|
|
76
|
-
}),
|
|
77
|
-
onicon: ({ props }) => ({
|
|
78
|
-
class: [
|
|
79
|
-
// Size
|
|
80
|
-
'w-5 h-5',
|
|
81
|
-
|
|
82
|
-
// Color
|
|
83
|
-
'text-primary-500 dark:text-primary-400',
|
|
84
|
-
|
|
85
|
-
// State
|
|
86
|
-
{ 'hover:text-primary-600 dark:hover:text-primary-300': !props.readonly },
|
|
87
|
-
|
|
88
|
-
// Transition
|
|
89
|
-
'transition duration-200 ease-in'
|
|
90
|
-
]
|
|
91
|
-
})
|
|
92
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
namespace wrapper {
|
|
3
|
-
let _class: string[];
|
|
4
|
-
export { _class as class };
|
|
5
|
-
}
|
|
6
|
-
namespace content {
|
|
7
|
-
let _class_1: string[];
|
|
8
|
-
export { _class_1 as class };
|
|
9
|
-
}
|
|
10
|
-
namespace barX {
|
|
11
|
-
let _class_2: string[];
|
|
12
|
-
export { _class_2 as class };
|
|
13
|
-
}
|
|
14
|
-
namespace barY {
|
|
15
|
-
let _class_3: string[];
|
|
16
|
-
export { _class_3 as class };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export default _default;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: {
|
|
3
|
-
class: [
|
|
4
|
-
// Size & Position
|
|
5
|
-
'h-full w-full',
|
|
6
|
-
|
|
7
|
-
// Layering
|
|
8
|
-
'z-[1]',
|
|
9
|
-
|
|
10
|
-
// Spacing
|
|
11
|
-
'overflow-hidden',
|
|
12
|
-
|
|
13
|
-
// Misc
|
|
14
|
-
'relative float-left'
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
content: {
|
|
18
|
-
class: [
|
|
19
|
-
// Size & Spacing
|
|
20
|
-
'h-[calc(100%+18px)] w-[calc(100%+18px)] pr-[18px] pb-[18px] pl-0 pt-0',
|
|
21
|
-
|
|
22
|
-
// Overflow & Scrollbar
|
|
23
|
-
'overflow-scroll scrollbar-none',
|
|
24
|
-
|
|
25
|
-
// Box Model
|
|
26
|
-
'box-border',
|
|
27
|
-
|
|
28
|
-
// Position
|
|
29
|
-
'relative',
|
|
30
|
-
|
|
31
|
-
// Webkit Specific
|
|
32
|
-
'[&::-webkit-scrollbar]:hidden'
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
barX: {
|
|
36
|
-
class: [
|
|
37
|
-
// Size & Position
|
|
38
|
-
'h-[9px] bottom-0',
|
|
39
|
-
|
|
40
|
-
// Appearance
|
|
41
|
-
'bg-surface-50 dark:bg-surface-700 rounded',
|
|
42
|
-
|
|
43
|
-
// Interactivity
|
|
44
|
-
'cursor-pointer',
|
|
45
|
-
|
|
46
|
-
// Visibility & Layering
|
|
47
|
-
'invisible z-20',
|
|
48
|
-
|
|
49
|
-
// Transition
|
|
50
|
-
'transition duration-[250ms] ease-linear',
|
|
51
|
-
|
|
52
|
-
// Misc
|
|
53
|
-
'relative'
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
barY: {
|
|
57
|
-
class: [
|
|
58
|
-
// Size & Position
|
|
59
|
-
'w-[9px] top-0',
|
|
60
|
-
|
|
61
|
-
// Appearance
|
|
62
|
-
'bg-surface-50 dark:bg-surface-700 rounded',
|
|
63
|
-
|
|
64
|
-
// Interactivity
|
|
65
|
-
'cursor-pointer',
|
|
66
|
-
|
|
67
|
-
// Visibility & Layering
|
|
68
|
-
'z-20',
|
|
69
|
-
|
|
70
|
-
// Transition
|
|
71
|
-
'transition duration-[250ms] ease-linear',
|
|
72
|
-
|
|
73
|
-
// Misc
|
|
74
|
-
'relative'
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: (string | {
|
|
6
|
-
sticky: boolean;
|
|
7
|
-
fixed: boolean;
|
|
8
|
-
'rounded-md h-8 w-8'?: undefined;
|
|
9
|
-
'h-12 w-12 rounded-full shadow-md'?: undefined;
|
|
10
|
-
'bg-primary-500 dark:bg-primary-400 hover:bg-primary-600 dark:hover:bg-primary-300'?: undefined;
|
|
11
|
-
'bg-surface-500 dark:bg-surface-400 hover:bg-surface-600 dark:hover:bg-surface-300'?: undefined;
|
|
12
|
-
'hover:bg-primary-600 dark:hover:bg-primary-300'?: undefined;
|
|
13
|
-
'hover:bg-surface-600 dark:hover:bg-surface-300'?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
'rounded-md h-8 w-8': boolean;
|
|
16
|
-
'h-12 w-12 rounded-full shadow-md': boolean;
|
|
17
|
-
sticky?: undefined;
|
|
18
|
-
fixed?: undefined;
|
|
19
|
-
'bg-primary-500 dark:bg-primary-400 hover:bg-primary-600 dark:hover:bg-primary-300'?: undefined;
|
|
20
|
-
'bg-surface-500 dark:bg-surface-400 hover:bg-surface-600 dark:hover:bg-surface-300'?: undefined;
|
|
21
|
-
'hover:bg-primary-600 dark:hover:bg-primary-300'?: undefined;
|
|
22
|
-
'hover:bg-surface-600 dark:hover:bg-surface-300'?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
'bg-primary-500 dark:bg-primary-400 hover:bg-primary-600 dark:hover:bg-primary-300': boolean;
|
|
25
|
-
'bg-surface-500 dark:bg-surface-400 hover:bg-surface-600 dark:hover:bg-surface-300': boolean;
|
|
26
|
-
sticky?: undefined;
|
|
27
|
-
fixed?: undefined;
|
|
28
|
-
'rounded-md h-8 w-8'?: undefined;
|
|
29
|
-
'h-12 w-12 rounded-full shadow-md'?: undefined;
|
|
30
|
-
'hover:bg-primary-600 dark:hover:bg-primary-300'?: undefined;
|
|
31
|
-
'hover:bg-surface-600 dark:hover:bg-surface-300'?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
'hover:bg-primary-600 dark:hover:bg-primary-300': boolean;
|
|
34
|
-
'hover:bg-surface-600 dark:hover:bg-surface-300': boolean;
|
|
35
|
-
sticky?: undefined;
|
|
36
|
-
fixed?: undefined;
|
|
37
|
-
'rounded-md h-8 w-8'?: undefined;
|
|
38
|
-
'h-12 w-12 rounded-full shadow-md'?: undefined;
|
|
39
|
-
'bg-primary-500 dark:bg-primary-400 hover:bg-primary-600 dark:hover:bg-primary-300'?: undefined;
|
|
40
|
-
'bg-surface-500 dark:bg-surface-400 hover:bg-surface-600 dark:hover:bg-surface-300'?: undefined;
|
|
41
|
-
})[];
|
|
42
|
-
};
|
|
43
|
-
namespace transition {
|
|
44
|
-
let enterFromClass: string;
|
|
45
|
-
let enterActiveClass: string;
|
|
46
|
-
let leaveActiveClass: string;
|
|
47
|
-
let leaveToClass: string;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export default _default;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Flex & Alignment
|
|
5
|
-
'flex items-center justify-center',
|
|
6
|
-
|
|
7
|
-
// Positioning
|
|
8
|
-
{
|
|
9
|
-
sticky: props.target === 'parent',
|
|
10
|
-
fixed: props.target === 'window'
|
|
11
|
-
},
|
|
12
|
-
'bottom-[20px] right-[20px]',
|
|
13
|
-
'ml-auto',
|
|
14
|
-
|
|
15
|
-
// Shape & Size
|
|
16
|
-
{
|
|
17
|
-
'rounded-md h-8 w-8': props.target === 'parent',
|
|
18
|
-
'h-12 w-12 rounded-full shadow-md': props.target === 'window'
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
// Color
|
|
22
|
-
'text-white dark:text-surface-900',
|
|
23
|
-
{
|
|
24
|
-
'bg-primary-500 dark:bg-primary-400 hover:bg-primary-600 dark:hover:bg-primary-300': props.target === 'parent',
|
|
25
|
-
'bg-surface-500 dark:bg-surface-400 hover:bg-surface-600 dark:hover:bg-surface-300': props.target === 'window'
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
// States
|
|
29
|
-
{
|
|
30
|
-
'hover:bg-primary-600 dark:hover:bg-primary-300': props.target === 'parent',
|
|
31
|
-
'hover:bg-surface-600 dark:hover:bg-surface-300': props.target === 'window'
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}),
|
|
35
|
-
transition: {
|
|
36
|
-
enterFromClass: 'opacity-0',
|
|
37
|
-
enterActiveClass: 'transition-opacity duration-150',
|
|
38
|
-
leaveActiveClass: 'transition-opacity duration-150',
|
|
39
|
-
leaveToClass: 'opacity-0'
|
|
40
|
-
}
|
|
41
|
-
};
|