@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,87 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Spacing and Shape
|
|
5
|
-
'my-4 mx-0',
|
|
6
|
-
'rounded-md',
|
|
7
|
-
'border-solid border-0 border-l-[6px]',
|
|
8
|
-
|
|
9
|
-
// Colors
|
|
10
|
-
{
|
|
11
|
-
'bg-blue-100/70 dark:bg-blue-500/20': props.severity == 'info',
|
|
12
|
-
'bg-green-100/70 dark:bg-green-500/20': props.severity == 'success',
|
|
13
|
-
'bg-orange-100/70 dark:bg-orange-500/20': props.severity == 'warn',
|
|
14
|
-
'bg-red-100/70 dark:bg-red-500/20': props.severity == 'error'
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
'border-blue-500 dark:border-blue-400': props.severity == 'info',
|
|
18
|
-
'border-green-500 dark:border-green-400': props.severity == 'success',
|
|
19
|
-
'border-orange-500 dark:border-orange-400': props.severity == 'warn',
|
|
20
|
-
'border-red-500 dark:border-red-400': props.severity == 'error'
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
'text-blue-700 dark:text-blue-300': props.severity == 'info',
|
|
24
|
-
'text-green-700 dark:text-green-300': props.severity == 'success',
|
|
25
|
-
'text-orange-700 dark:text-orange-300': props.severity == 'warn',
|
|
26
|
-
'text-red-700 dark:text-red-300': props.severity == 'error'
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}),
|
|
30
|
-
wrapper: {
|
|
31
|
-
class: [
|
|
32
|
-
// Flexbox
|
|
33
|
-
'flex items-center',
|
|
34
|
-
|
|
35
|
-
// Spacing
|
|
36
|
-
'py-5 px-7'
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
icon: {
|
|
40
|
-
class: [
|
|
41
|
-
// Sizing and Spacing
|
|
42
|
-
'w-6 h-6',
|
|
43
|
-
'text-lg leading-none mr-2 shrink-0'
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
text: {
|
|
47
|
-
class: [
|
|
48
|
-
// Font and Text
|
|
49
|
-
'text-base leading-none',
|
|
50
|
-
'font-medium'
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
button: {
|
|
54
|
-
class: [
|
|
55
|
-
// Flexbox
|
|
56
|
-
'flex items-center justify-center',
|
|
57
|
-
|
|
58
|
-
// Size
|
|
59
|
-
'w-8 h-8',
|
|
60
|
-
|
|
61
|
-
// Spacing and Misc
|
|
62
|
-
'ml-auto relative',
|
|
63
|
-
|
|
64
|
-
// Shape
|
|
65
|
-
'rounded-full',
|
|
66
|
-
|
|
67
|
-
// Colors
|
|
68
|
-
'bg-transparent',
|
|
69
|
-
|
|
70
|
-
// Transitions
|
|
71
|
-
'transition duration-200 ease-in-out',
|
|
72
|
-
|
|
73
|
-
// States
|
|
74
|
-
'hover:bg-surface-0/50 dark:hover:bg-surface-0/10',
|
|
75
|
-
|
|
76
|
-
// Misc
|
|
77
|
-
'overflow-hidden'
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
transition: {
|
|
81
|
-
enterFromClass: 'opacity-0',
|
|
82
|
-
enterActiveClass: 'transition-opacity duration-300',
|
|
83
|
-
leaveFromClass: 'max-h-40',
|
|
84
|
-
leaveActiveClass: 'overflow-hidden transition-all duration-300 ease-in',
|
|
85
|
-
leaveToClass: 'max-h-0 opacity-0 !m-0'
|
|
86
|
-
}
|
|
87
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props }: {
|
|
3
|
-
props: any;
|
|
4
|
-
}): {
|
|
5
|
-
class: (string | {
|
|
6
|
-
'flex-col': boolean;
|
|
7
|
-
'flex-row': boolean;
|
|
8
|
-
})[];
|
|
9
|
-
};
|
|
10
|
-
function metercontainer({ props }: {
|
|
11
|
-
props: any;
|
|
12
|
-
}): {
|
|
13
|
-
class: (string | {
|
|
14
|
-
'flex-col': boolean;
|
|
15
|
-
'w-2 h-full'?: undefined;
|
|
16
|
-
'h-2'?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
'w-2 h-full': boolean;
|
|
19
|
-
'flex-col'?: undefined;
|
|
20
|
-
'h-2'?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
'h-2': boolean;
|
|
23
|
-
'flex-col'?: undefined;
|
|
24
|
-
'w-2 h-full'?: undefined;
|
|
25
|
-
})[];
|
|
26
|
-
};
|
|
27
|
-
function meter({ props }: {
|
|
28
|
-
props: any;
|
|
29
|
-
}): {
|
|
30
|
-
class: (string | {
|
|
31
|
-
'first:rounded-l-lg last:rounded-r-lg': boolean;
|
|
32
|
-
'first:rounded-t-lg last:rounded-b-lg'?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
'first:rounded-t-lg last:rounded-b-lg': boolean;
|
|
35
|
-
'first:rounded-l-lg last:rounded-r-lg'?: undefined;
|
|
36
|
-
})[];
|
|
37
|
-
};
|
|
38
|
-
function labellist({ props }: {
|
|
39
|
-
props: any;
|
|
40
|
-
}): {
|
|
41
|
-
class: (string | {
|
|
42
|
-
'gap-4': boolean;
|
|
43
|
-
'gap-2'?: undefined;
|
|
44
|
-
'flex-col'?: undefined;
|
|
45
|
-
'align-end'?: undefined;
|
|
46
|
-
'align-start'?: undefined;
|
|
47
|
-
'justify-end'?: undefined;
|
|
48
|
-
'justify-start'?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
'gap-2': boolean;
|
|
51
|
-
'gap-4'?: undefined;
|
|
52
|
-
'flex-col'?: undefined;
|
|
53
|
-
'align-end'?: undefined;
|
|
54
|
-
'align-start'?: undefined;
|
|
55
|
-
'justify-end'?: undefined;
|
|
56
|
-
'justify-start'?: undefined;
|
|
57
|
-
} | {
|
|
58
|
-
'flex-col': boolean;
|
|
59
|
-
'gap-4'?: undefined;
|
|
60
|
-
'gap-2'?: undefined;
|
|
61
|
-
'align-end'?: undefined;
|
|
62
|
-
'align-start'?: undefined;
|
|
63
|
-
'justify-end'?: undefined;
|
|
64
|
-
'justify-start'?: undefined;
|
|
65
|
-
} | {
|
|
66
|
-
'align-end': boolean;
|
|
67
|
-
'align-start': boolean;
|
|
68
|
-
'gap-4'?: undefined;
|
|
69
|
-
'gap-2'?: undefined;
|
|
70
|
-
'flex-col'?: undefined;
|
|
71
|
-
'justify-end'?: undefined;
|
|
72
|
-
'justify-start'?: undefined;
|
|
73
|
-
} | {
|
|
74
|
-
'justify-end': boolean;
|
|
75
|
-
'justify-start': boolean;
|
|
76
|
-
'gap-4'?: undefined;
|
|
77
|
-
'gap-2'?: undefined;
|
|
78
|
-
'flex-col'?: undefined;
|
|
79
|
-
'align-end'?: undefined;
|
|
80
|
-
'align-start'?: undefined;
|
|
81
|
-
})[];
|
|
82
|
-
};
|
|
83
|
-
namespace labellistitem {
|
|
84
|
-
let _class: string[];
|
|
85
|
-
export { _class as class };
|
|
86
|
-
}
|
|
87
|
-
namespace labellisttype {
|
|
88
|
-
let _class_1: string[];
|
|
89
|
-
export { _class_1 as class };
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
export default _default;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Flexbox
|
|
5
|
-
'flex gap-4',
|
|
6
|
-
|
|
7
|
-
{ 'flex-col': props.orientation == 'horizontal', 'flex-row': props.orientation == 'vertical' }
|
|
8
|
-
]
|
|
9
|
-
}),
|
|
10
|
-
metercontainer: ({ props }) => ({
|
|
11
|
-
class: [
|
|
12
|
-
// Flexbox
|
|
13
|
-
'flex',
|
|
14
|
-
|
|
15
|
-
{ 'flex-col': props.orientation === 'vertical' },
|
|
16
|
-
|
|
17
|
-
// Sizing
|
|
18
|
-
{ 'w-2 h-full': props.orientation === 'vertical' },
|
|
19
|
-
{ 'h-2': props.orientation === 'horizontal' },
|
|
20
|
-
|
|
21
|
-
// Colors
|
|
22
|
-
'bg-gray-200 dark:bg-gray-700',
|
|
23
|
-
|
|
24
|
-
// Border Radius
|
|
25
|
-
'rounded-lg'
|
|
26
|
-
]
|
|
27
|
-
}),
|
|
28
|
-
meter: ({ props }) => ({
|
|
29
|
-
class: [
|
|
30
|
-
// Shape
|
|
31
|
-
'border-0',
|
|
32
|
-
|
|
33
|
-
// Rounded Corners - Horizontal
|
|
34
|
-
{
|
|
35
|
-
'first:rounded-l-lg last:rounded-r-lg': props.orientation === 'horizontal'
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
// Rounded Corners - Vertical
|
|
39
|
-
{
|
|
40
|
-
'first:rounded-t-lg last:rounded-b-lg': props.orientation === 'vertical'
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
// Colors
|
|
44
|
-
'bg-primary-500 dark:bg-primary-400'
|
|
45
|
-
]
|
|
46
|
-
}),
|
|
47
|
-
labellist: ({ props }) => ({
|
|
48
|
-
class: [
|
|
49
|
-
// Display & Flexbox
|
|
50
|
-
'flex flex-wrap',
|
|
51
|
-
|
|
52
|
-
{ 'gap-4': props.labelOrientation === 'horizontal' },
|
|
53
|
-
|
|
54
|
-
{ 'gap-2': props.labelOrientation === 'vertical' },
|
|
55
|
-
|
|
56
|
-
{ 'flex-col': props.labelOrientation === 'vertical' },
|
|
57
|
-
|
|
58
|
-
// Conditional Alignment - Horizontal
|
|
59
|
-
{
|
|
60
|
-
'align-end': props.labelOrientation === 'horizontal' && props.labelPosition === 'end',
|
|
61
|
-
'align-start': props.labelOrientation === 'horizontal' && props.labelPosition === 'start'
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
// Conditional Alignment - Vertical
|
|
65
|
-
{
|
|
66
|
-
'justify-end': props.labelOrientation === 'vertical' && props.labelPosition === 'end',
|
|
67
|
-
'justify-start': props.labelOrientation === 'vertical' && props.labelPosition === 'start'
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
// List Styling
|
|
71
|
-
'm-0 p-0 list-none'
|
|
72
|
-
]
|
|
73
|
-
}),
|
|
74
|
-
labellistitem: {
|
|
75
|
-
class: [
|
|
76
|
-
// Flexbox
|
|
77
|
-
'inline-flex',
|
|
78
|
-
'items-center',
|
|
79
|
-
'gap-2'
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
labellisttype: {
|
|
83
|
-
class: [
|
|
84
|
-
// Display
|
|
85
|
-
'inline-flex',
|
|
86
|
-
|
|
87
|
-
// Background Color
|
|
88
|
-
'bg-primary-500 dark:bg-primary-400',
|
|
89
|
-
|
|
90
|
-
// Size
|
|
91
|
-
'w-2 h-2',
|
|
92
|
-
|
|
93
|
-
// Rounded Shape
|
|
94
|
-
'rounded-full'
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
};
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
function root({ props, state }: {
|
|
3
|
-
props: any;
|
|
4
|
-
state: any;
|
|
5
|
-
}): {
|
|
6
|
-
class: (string | {
|
|
7
|
-
'border-surface-300 dark:border-surface-600': boolean;
|
|
8
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
9
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
10
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
11
|
-
'opacity-60'?: undefined;
|
|
12
|
-
'pointer-events-none'?: undefined;
|
|
13
|
-
'cursor-default'?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
'border-red-500 dark:border-red-400': any;
|
|
16
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
17
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
18
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
19
|
-
'opacity-60'?: undefined;
|
|
20
|
-
'pointer-events-none'?: undefined;
|
|
21
|
-
'cursor-default'?: undefined;
|
|
22
|
-
} | {
|
|
23
|
-
'hover:border-primary-500 dark:hover:border-primary-300': boolean;
|
|
24
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
25
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
26
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
27
|
-
'opacity-60'?: undefined;
|
|
28
|
-
'pointer-events-none'?: undefined;
|
|
29
|
-
'cursor-default'?: undefined;
|
|
30
|
-
} | {
|
|
31
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50': any;
|
|
32
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
33
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
34
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
35
|
-
'opacity-60'?: undefined;
|
|
36
|
-
'pointer-events-none'?: undefined;
|
|
37
|
-
'cursor-default'?: undefined;
|
|
38
|
-
} | {
|
|
39
|
-
'opacity-60': any;
|
|
40
|
-
'pointer-events-none': any;
|
|
41
|
-
'cursor-default': any;
|
|
42
|
-
'border-surface-300 dark:border-surface-600'?: undefined;
|
|
43
|
-
'border-red-500 dark:border-red-400'?: undefined;
|
|
44
|
-
'hover:border-primary-500 dark:hover:border-primary-300'?: undefined;
|
|
45
|
-
'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
|
|
46
|
-
})[];
|
|
47
|
-
};
|
|
48
|
-
namespace labelContainer {
|
|
49
|
-
let _class: string;
|
|
50
|
-
export { _class as class };
|
|
51
|
-
}
|
|
52
|
-
function label({ props }: {
|
|
53
|
-
props: any;
|
|
54
|
-
}): {
|
|
55
|
-
class: (string | {
|
|
56
|
-
'p-3': boolean;
|
|
57
|
-
'py-3 px-3': boolean;
|
|
58
|
-
'py-1.5 px-3': boolean;
|
|
59
|
-
'text-surface-800 dark:text-white/80'?: undefined;
|
|
60
|
-
'text-surface-400 dark:text-surface-500'?: undefined;
|
|
61
|
-
} | {
|
|
62
|
-
'text-surface-800 dark:text-white/80': any;
|
|
63
|
-
'text-surface-400 dark:text-surface-500': boolean;
|
|
64
|
-
'p-3'?: undefined;
|
|
65
|
-
'py-3 px-3'?: undefined;
|
|
66
|
-
'py-1.5 px-3'?: undefined;
|
|
67
|
-
})[];
|
|
68
|
-
};
|
|
69
|
-
namespace token {
|
|
70
|
-
let _class_1: string[];
|
|
71
|
-
export { _class_1 as class };
|
|
72
|
-
}
|
|
73
|
-
namespace removeTokenIcon {
|
|
74
|
-
let _class_2: string[];
|
|
75
|
-
export { _class_2 as class };
|
|
76
|
-
}
|
|
77
|
-
namespace trigger {
|
|
78
|
-
let _class_3: string[];
|
|
79
|
-
export { _class_3 as class };
|
|
80
|
-
}
|
|
81
|
-
namespace panel {
|
|
82
|
-
let _class_4: string[];
|
|
83
|
-
export { _class_4 as class };
|
|
84
|
-
}
|
|
85
|
-
namespace header {
|
|
86
|
-
let _class_5: string[];
|
|
87
|
-
export { _class_5 as class };
|
|
88
|
-
}
|
|
89
|
-
namespace headerCheckboxContainer {
|
|
90
|
-
let _class_6: string[];
|
|
91
|
-
export { _class_6 as class };
|
|
92
|
-
}
|
|
93
|
-
namespace headerCheckbox {
|
|
94
|
-
export namespace root_1 {
|
|
95
|
-
let _class_7: string[];
|
|
96
|
-
export { _class_7 as class };
|
|
97
|
-
}
|
|
98
|
-
export { root_1 as root };
|
|
99
|
-
export function box({ props, context }: {
|
|
100
|
-
props: any;
|
|
101
|
-
context: any;
|
|
102
|
-
}): {
|
|
103
|
-
class: (string | {
|
|
104
|
-
'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': boolean;
|
|
105
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': any;
|
|
106
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
|
|
107
|
-
'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300'?: undefined;
|
|
108
|
-
'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;
|
|
109
|
-
'cursor-default opacity-60'?: undefined;
|
|
110
|
-
} | {
|
|
111
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': boolean;
|
|
112
|
-
'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': any;
|
|
113
|
-
'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;
|
|
114
|
-
'cursor-default opacity-60': any;
|
|
115
|
-
'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900'?: undefined;
|
|
116
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400'?: undefined;
|
|
117
|
-
})[];
|
|
118
|
-
};
|
|
119
|
-
export namespace input {
|
|
120
|
-
let _class_8: string[];
|
|
121
|
-
export { _class_8 as class };
|
|
122
|
-
}
|
|
123
|
-
export namespace icon {
|
|
124
|
-
let _class_9: string[];
|
|
125
|
-
export { _class_9 as class };
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
namespace itemCheckbox {
|
|
129
|
-
export namespace root_2 {
|
|
130
|
-
let _class_10: string[];
|
|
131
|
-
export { _class_10 as class };
|
|
132
|
-
}
|
|
133
|
-
export { root_2 as root };
|
|
134
|
-
export function box_1({ props, context }: {
|
|
135
|
-
props: any;
|
|
136
|
-
context: any;
|
|
137
|
-
}): {
|
|
138
|
-
class: (string | {
|
|
139
|
-
'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': boolean;
|
|
140
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': any;
|
|
141
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
|
|
142
|
-
'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300'?: undefined;
|
|
143
|
-
'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;
|
|
144
|
-
'cursor-default opacity-60'?: undefined;
|
|
145
|
-
} | {
|
|
146
|
-
'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': boolean;
|
|
147
|
-
'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': any;
|
|
148
|
-
'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;
|
|
149
|
-
'cursor-default opacity-60': any;
|
|
150
|
-
'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900'?: undefined;
|
|
151
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400'?: undefined;
|
|
152
|
-
})[];
|
|
153
|
-
};
|
|
154
|
-
export { box_1 as box };
|
|
155
|
-
export namespace input_1 {
|
|
156
|
-
let _class_11: string[];
|
|
157
|
-
export { _class_11 as class };
|
|
158
|
-
}
|
|
159
|
-
export { input_1 as input };
|
|
160
|
-
export namespace icon_1 {
|
|
161
|
-
let _class_12: string[];
|
|
162
|
-
export { _class_12 as class };
|
|
163
|
-
}
|
|
164
|
-
export { icon_1 as icon };
|
|
165
|
-
}
|
|
166
|
-
namespace closeButton {
|
|
167
|
-
let _class_13: string[];
|
|
168
|
-
export { _class_13 as class };
|
|
169
|
-
}
|
|
170
|
-
namespace closeButtonIcon {
|
|
171
|
-
let _class_14: string;
|
|
172
|
-
export { _class_14 as class };
|
|
173
|
-
}
|
|
174
|
-
namespace wrapper {
|
|
175
|
-
let _class_15: string[];
|
|
176
|
-
export { _class_15 as class };
|
|
177
|
-
}
|
|
178
|
-
namespace list {
|
|
179
|
-
let _class_16: string;
|
|
180
|
-
export { _class_16 as class };
|
|
181
|
-
}
|
|
182
|
-
function item({ context }: {
|
|
183
|
-
context: any;
|
|
184
|
-
}): {
|
|
185
|
-
class: (string | {
|
|
186
|
-
'text-surface-700 dark:text-white/80': boolean;
|
|
187
|
-
'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
|
|
188
|
-
'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
189
|
-
'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
190
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
191
|
-
'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
|
|
192
|
-
} | {
|
|
193
|
-
'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80': any;
|
|
194
|
-
'text-surface-700 dark:text-white/80'?: undefined;
|
|
195
|
-
'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
196
|
-
'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
197
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
198
|
-
'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
|
|
199
|
-
} | {
|
|
200
|
-
'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80': any;
|
|
201
|
-
'text-surface-700 dark:text-white/80'?: undefined;
|
|
202
|
-
'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
|
|
203
|
-
'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
204
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
205
|
-
'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
|
|
206
|
-
} | {
|
|
207
|
-
'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80': any;
|
|
208
|
-
'text-surface-700 dark:text-white/80'?: undefined;
|
|
209
|
-
'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
|
|
210
|
-
'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
211
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
212
|
-
'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
|
|
213
|
-
} | {
|
|
214
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80': boolean;
|
|
215
|
-
'text-surface-700 dark:text-white/80'?: undefined;
|
|
216
|
-
'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
|
|
217
|
-
'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
218
|
-
'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
219
|
-
'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
|
|
220
|
-
} | {
|
|
221
|
-
'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80': any;
|
|
222
|
-
'text-surface-700 dark:text-white/80'?: undefined;
|
|
223
|
-
'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
|
|
224
|
-
'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
225
|
-
'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
|
|
226
|
-
'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
|
|
227
|
-
})[];
|
|
228
|
-
};
|
|
229
|
-
namespace itemgroup {
|
|
230
|
-
let _class_17: string[];
|
|
231
|
-
export { _class_17 as class };
|
|
232
|
-
}
|
|
233
|
-
namespace filtercontainer {
|
|
234
|
-
let _class_18: string;
|
|
235
|
-
export { _class_18 as class };
|
|
236
|
-
}
|
|
237
|
-
namespace filterinput {
|
|
238
|
-
let _class_19: string[];
|
|
239
|
-
export { _class_19 as class };
|
|
240
|
-
}
|
|
241
|
-
namespace filtericon {
|
|
242
|
-
let _class_20: string[];
|
|
243
|
-
export { _class_20 as class };
|
|
244
|
-
}
|
|
245
|
-
namespace clearicon {
|
|
246
|
-
let _class_21: string[];
|
|
247
|
-
export { _class_21 as class };
|
|
248
|
-
}
|
|
249
|
-
namespace emptymessage {
|
|
250
|
-
let _class_22: string[];
|
|
251
|
-
export { _class_22 as class };
|
|
252
|
-
}
|
|
253
|
-
namespace transition {
|
|
254
|
-
let enterFromClass: string;
|
|
255
|
-
let enterActiveClass: string;
|
|
256
|
-
let leaveActiveClass: string;
|
|
257
|
-
let leaveToClass: string;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
export default _default;
|