@lynx-js/genui 0.0.1-rc.0 → 0.0.2
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/a2ui/README.md +777 -100
- package/a2ui/dist/catalog/Button/{index.js → index.jsx} +12 -8
- package/a2ui/dist/catalog/Button/index.jsx.map +1 -0
- package/a2ui/dist/catalog/Card/{index.js → index.jsx} +5 -4
- package/a2ui/dist/catalog/Card/index.jsx.map +1 -0
- package/a2ui/dist/catalog/CheckBox/{index.js → index.jsx} +11 -6
- package/a2ui/dist/catalog/CheckBox/index.jsx.map +1 -0
- package/a2ui/dist/catalog/ChoicePicker/catalog.json +265 -0
- package/a2ui/dist/catalog/ChoicePicker/index.d.ts +56 -0
- package/a2ui/dist/catalog/ChoicePicker/index.jsx +98 -0
- package/a2ui/dist/catalog/ChoicePicker/index.jsx.map +1 -0
- package/a2ui/dist/catalog/ChoicePicker/utils.d.ts +13 -0
- package/a2ui/dist/catalog/ChoicePicker/utils.js +80 -0
- package/a2ui/dist/catalog/ChoicePicker/utils.js.map +1 -0
- package/a2ui/dist/catalog/Column/{index.js → index.jsx} +13 -14
- package/a2ui/dist/catalog/Column/index.jsx.map +1 -0
- package/a2ui/dist/catalog/DateTimeInput/catalog.json +165 -0
- package/a2ui/dist/catalog/DateTimeInput/index.d.ts +43 -0
- package/a2ui/dist/catalog/DateTimeInput/index.jsx +258 -0
- package/a2ui/dist/catalog/DateTimeInput/index.jsx.map +1 -0
- package/a2ui/dist/catalog/DateTimeInput/utils.d.ts +53 -0
- package/a2ui/dist/catalog/DateTimeInput/utils.js +248 -0
- package/a2ui/dist/catalog/DateTimeInput/utils.js.map +1 -0
- package/a2ui/dist/catalog/Divider/index.jsx +7 -0
- package/a2ui/dist/catalog/Divider/index.jsx.map +1 -0
- package/a2ui/dist/catalog/Icon/catalog.json +173 -2
- package/a2ui/dist/catalog/Icon/index.d.ts +2 -2
- package/a2ui/dist/catalog/Icon/{index.js → index.jsx} +4 -3
- package/a2ui/dist/catalog/Icon/index.jsx.map +1 -0
- package/a2ui/dist/catalog/Image/catalog.json +1 -17
- package/a2ui/dist/catalog/Image/index.d.ts +1 -3
- package/a2ui/dist/catalog/Image/index.jsx +21 -0
- package/a2ui/dist/catalog/Image/index.jsx.map +1 -0
- package/a2ui/dist/catalog/LineChart/{index.js → index.jsx} +53 -16
- package/a2ui/dist/catalog/LineChart/{index.js.map → index.jsx.map} +1 -1
- package/a2ui/dist/catalog/List/{index.js → index.jsx} +9 -6
- package/a2ui/dist/catalog/List/{index.js.map → index.jsx.map} +1 -1
- package/a2ui/dist/catalog/Modal/{index.js → index.jsx} +18 -9
- package/a2ui/dist/catalog/Modal/index.jsx.map +1 -0
- package/a2ui/dist/catalog/PieChart/{index.js → index.jsx} +41 -15
- package/a2ui/dist/catalog/PieChart/{index.js.map → index.jsx.map} +1 -1
- package/a2ui/dist/catalog/RadioGroup/{index.js → index.jsx} +18 -5
- package/a2ui/dist/catalog/RadioGroup/index.jsx.map +1 -0
- package/a2ui/dist/catalog/Row/{index.js → index.jsx} +10 -7
- package/a2ui/dist/catalog/Row/index.jsx.map +1 -0
- package/a2ui/dist/catalog/Slider/{index.js → index.jsx} +22 -7
- package/a2ui/dist/catalog/Slider/{index.js.map → index.jsx.map} +1 -1
- package/a2ui/dist/catalog/Tabs/index.jsx +40 -0
- package/a2ui/dist/catalog/Tabs/index.jsx.map +1 -0
- package/a2ui/dist/catalog/Text/catalog.json +6 -2
- package/a2ui/dist/catalog/Text/index.d.ts +1 -1
- package/a2ui/dist/catalog/Text/index.jsx +16 -0
- package/a2ui/dist/catalog/Text/index.jsx.map +1 -0
- package/a2ui/dist/catalog/TextField/{index.js → index.jsx} +8 -5
- package/a2ui/dist/catalog/TextField/{index.js.map → index.jsx.map} +1 -1
- package/a2ui/dist/catalog/index.d.ts +21 -17
- package/a2ui/dist/catalog/index.js +2067 -20
- package/a2ui/dist/catalog/index.js.map +1 -1
- package/a2ui/dist/index.d.ts +1 -1
- package/a2ui/dist/index.js +1 -1
- package/a2ui/dist/index.js.map +1 -1
- package/a2ui/dist/react/A2UI.d.ts +1 -1
- package/a2ui/dist/react/{A2UI.js → A2UI.jsx} +6 -5
- package/a2ui/dist/react/{A2UI.js.map → A2UI.jsx.map} +1 -1
- package/a2ui/dist/react/{A2UIProvider.js → A2UIProvider.jsx} +2 -3
- package/a2ui/dist/react/{A2UIProvider.js.map → A2UIProvider.jsx.map} +1 -1
- package/a2ui/dist/react/A2UIRenderer.d.ts +1 -0
- package/a2ui/dist/react/{A2UIRenderer.js → A2UIRenderer.jsx} +36 -24
- package/a2ui/dist/react/A2UIRenderer.jsx.map +1 -0
- package/a2ui/dist/react/index.d.ts +3 -3
- package/a2ui/dist/react/index.js +2 -2
- package/a2ui/dist/react/index.js.map +1 -1
- package/a2ui/dist/react/useA2UIContext.d.ts +1 -1
- package/a2ui/dist/react/useA2UIContext.js +1 -1
- package/a2ui/dist/react/useA2UIContext.js.map +1 -1
- package/a2ui/dist/react/useAction.js +2 -1
- package/a2ui/dist/react/useAction.js.map +1 -1
- package/a2ui/dist/react/useChecks.js +7 -2
- package/a2ui/dist/react/useChecks.js.map +1 -1
- package/a2ui/dist/react/useDataBinding.d.ts +1 -1
- package/a2ui/dist/react/useDataBinding.js +24 -48
- package/a2ui/dist/react/useDataBinding.js.map +1 -1
- package/a2ui/dist/store/MessageProcessor.js +7 -19
- package/a2ui/dist/store/MessageProcessor.js.map +1 -1
- package/a2ui/dist/store/SignalStore.d.ts +2 -0
- package/a2ui/dist/store/SignalStore.js +5 -0
- package/a2ui/dist/store/SignalStore.js.map +1 -1
- package/a2ui/dist/store/index.d.ts +3 -1
- package/a2ui/dist/store/index.js +3 -1
- package/a2ui/dist/store/index.js.map +1 -1
- package/a2ui/dist/store/resolveDynamic.d.ts +9 -0
- package/a2ui/dist/store/resolveDynamic.js +88 -0
- package/a2ui/dist/store/resolveDynamic.js.map +1 -0
- package/a2ui/dist/store/resolveFunctionCall.d.ts +2 -4
- package/a2ui/dist/store/resolveFunctionCall.js +24 -82
- package/a2ui/dist/store/resolveFunctionCall.js.map +1 -1
- package/a2ui/dist/store/signalResolution.d.ts +4 -0
- package/a2ui/dist/store/signalResolution.js +25 -0
- package/a2ui/dist/store/signalResolution.js.map +1 -0
- package/a2ui/dist/store/utils.d.ts +7 -0
- package/a2ui/dist/store/utils.js +24 -0
- package/a2ui/dist/store/utils.js.map +1 -0
- package/a2ui/dist/tsconfig.build.tsbuildinfo +1 -1
- package/a2ui/styles/catalog/ChoicePicker.css +157 -0
- package/a2ui/styles/catalog/DateTimeInput.css +375 -0
- package/a2ui/styles/catalog/Icon.css +1 -1
- package/a2ui/styles/catalog/Modal.css +1 -0
- package/a2ui/styles/catalog/Text.css +13 -17
- package/a2ui/styles/theme.css +2 -1
- package/a2ui-catalog-extractor/README.md +23 -15
- package/a2ui-catalog-extractor/bin/a2ui-catalog-extractor.js +0 -1
- package/a2ui-catalog-extractor/dist/tsconfig.build.tsbuildinfo +1 -1
- package/a2ui-prompt/README.md +1 -2
- package/a2ui-prompt/dist/index.js +138 -104
- package/cli/bin/cli.js +5 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -1
- package/a2ui/dist/catalog/Button/index.js.map +0 -1
- package/a2ui/dist/catalog/Card/index.js.map +0 -1
- package/a2ui/dist/catalog/CheckBox/index.js.map +0 -1
- package/a2ui/dist/catalog/Column/index.js.map +0 -1
- package/a2ui/dist/catalog/Divider/index.js +0 -8
- package/a2ui/dist/catalog/Divider/index.js.map +0 -1
- package/a2ui/dist/catalog/Icon/index.js.map +0 -1
- package/a2ui/dist/catalog/Image/index.js +0 -30
- package/a2ui/dist/catalog/Image/index.js.map +0 -1
- package/a2ui/dist/catalog/Modal/index.js.map +0 -1
- package/a2ui/dist/catalog/RadioGroup/index.js.map +0 -1
- package/a2ui/dist/catalog/Row/index.js.map +0 -1
- package/a2ui/dist/catalog/Tabs/index.js +0 -32
- package/a2ui/dist/catalog/Tabs/index.js.map +0 -1
- package/a2ui/dist/catalog/Text/index.js +0 -27
- package/a2ui/dist/catalog/Text/index.js.map +0 -1
- package/a2ui/dist/react/A2UIRenderer.js.map +0 -1
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@import "../theme.css";
|
|
2
|
+
|
|
3
|
+
.choice-picker {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 10px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.choice-picker-label {
|
|
12
|
+
min-width: 0;
|
|
13
|
+
color: var(--a2ui-color-text-muted);
|
|
14
|
+
font-size: 13px;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
line-height: 1.5;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.choice-picker-filter {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
min-height: 38px;
|
|
23
|
+
padding: 8px 12px;
|
|
24
|
+
border: 1px solid var(--a2ui-color-border);
|
|
25
|
+
border-radius: 10px;
|
|
26
|
+
background-color: var(--a2ui-color-input);
|
|
27
|
+
color: var(--a2ui-color-on-input);
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
line-height: 1.4;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.choice-picker-options {
|
|
33
|
+
display: flex;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.choice-picker-checkbox .choice-picker-options {
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: 12px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.choice-picker-chips .choice-picker-options {
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
gap: 10px;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.choice-picker-option {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: row;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 12px;
|
|
54
|
+
min-width: 0;
|
|
55
|
+
color: var(--a2ui-color-on-background);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.choice-picker-option.ui-disabled {
|
|
59
|
+
opacity: 0.55;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.choice-picker-option-text {
|
|
63
|
+
min-width: 0;
|
|
64
|
+
color: inherit;
|
|
65
|
+
font-size: 15px;
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
line-height: 1.5;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.choice-picker-radio-indicator,
|
|
71
|
+
.choice-picker-checkbox-indicator {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
width: 22px;
|
|
76
|
+
height: 22px;
|
|
77
|
+
flex-shrink: 0;
|
|
78
|
+
border: 1.5px solid var(--a2ui-color-border);
|
|
79
|
+
background-color: var(--a2ui-color-surface);
|
|
80
|
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.choice-picker-radio-indicator {
|
|
84
|
+
border-radius: 50%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.choice-picker-checkbox-indicator {
|
|
88
|
+
border-radius: 6px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.choice-picker-radio-indicator.ui-checked,
|
|
92
|
+
.choice-picker-checkbox-indicator.ui-checked {
|
|
93
|
+
border-color: var(--a2ui-color-primary);
|
|
94
|
+
background-color: var(--a2ui-color-primary);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.choice-picker-radio-dot {
|
|
98
|
+
width: 9px;
|
|
99
|
+
height: 9px;
|
|
100
|
+
border-radius: 50%;
|
|
101
|
+
background-color: var(--a2ui-color-on-primary);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.choice-picker-checkmark {
|
|
105
|
+
color: var(--a2ui-color-on-primary);
|
|
106
|
+
font-size: 13px;
|
|
107
|
+
font-weight: 700;
|
|
108
|
+
line-height: 1;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.choice-picker-chip {
|
|
112
|
+
display: inline-flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
justify-content: center;
|
|
115
|
+
min-width: 74px;
|
|
116
|
+
min-height: 42px;
|
|
117
|
+
padding: 8px 20px;
|
|
118
|
+
border: 1px solid var(--a2ui-color-border-strong);
|
|
119
|
+
border-radius: 999px;
|
|
120
|
+
background-color: var(--a2ui-color-surface);
|
|
121
|
+
color: var(--a2ui-color-on-surface);
|
|
122
|
+
box-shadow:
|
|
123
|
+
0 10px 22px rgba(0, 0, 0, 0.04),
|
|
124
|
+
0 1px 0 rgba(255, 255, 255, 0.42) inset;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.choice-picker-chip.ui-active {
|
|
128
|
+
background-color: var(--a2ui-color-surface-muted);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.choice-picker-chip.ui-checked {
|
|
132
|
+
border-color: var(--a2ui-color-primary);
|
|
133
|
+
background-color: var(--a2ui-color-primary);
|
|
134
|
+
color: var(--a2ui-color-on-primary);
|
|
135
|
+
box-shadow:
|
|
136
|
+
0 12px 26px rgba(0, 85, 217, 0.18),
|
|
137
|
+
0 1px 0 rgba(255, 255, 255, 0.24) inset;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.choice-picker-chip-text {
|
|
141
|
+
color: inherit;
|
|
142
|
+
font-size: 15px;
|
|
143
|
+
font-weight: 700;
|
|
144
|
+
line-height: 1.4;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.choice-picker-invalid .choice-picker-radio-indicator,
|
|
148
|
+
.choice-picker-invalid .choice-picker-checkbox-indicator,
|
|
149
|
+
.choice-picker-invalid .choice-picker-chip {
|
|
150
|
+
border-color: var(--a2ui-color-input-error);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.choice-picker-error {
|
|
154
|
+
color: var(--a2ui-color-input-error);
|
|
155
|
+
font-size: 11px;
|
|
156
|
+
line-height: 1.5;
|
|
157
|
+
}
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
@import "../theme.css";
|
|
2
|
+
|
|
3
|
+
.datetime-input {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 6px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.datetime-input-label {
|
|
12
|
+
color: var(--a2ui-color-text-muted);
|
|
13
|
+
font-size: 13px;
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
line-height: 1.5;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.datetime-input-control {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
gap: 10px;
|
|
24
|
+
width: 100%;
|
|
25
|
+
min-height: 44px;
|
|
26
|
+
padding-top: 8px;
|
|
27
|
+
padding-right: 12px;
|
|
28
|
+
padding-bottom: 8px;
|
|
29
|
+
padding-left: 12px;
|
|
30
|
+
border-width: 1px;
|
|
31
|
+
border-style: solid;
|
|
32
|
+
border-color: var(--a2ui-color-border-strong);
|
|
33
|
+
border-radius: 12px;
|
|
34
|
+
background-color: var(--a2ui-color-surface-strong);
|
|
35
|
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.datetime-input-invalid .datetime-input-control {
|
|
39
|
+
border-color: var(--a2ui-color-input-error);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.datetime-input-value {
|
|
43
|
+
min-width: 0;
|
|
44
|
+
color: var(--a2ui-color-on-input);
|
|
45
|
+
font-size: 15px;
|
|
46
|
+
line-height: 1.5;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.datetime-input-control-placeholder .datetime-input-value {
|
|
50
|
+
color: var(--a2ui-color-input-placeholder);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.datetime-input-icon,
|
|
54
|
+
.datetime-dialog-close-icon,
|
|
55
|
+
.datetime-calendar-nav-icon,
|
|
56
|
+
.datetime-time-stepper-icon {
|
|
57
|
+
font-family: var(--a2ui-icon-font-family);
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: normal;
|
|
60
|
+
line-height: 1;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.datetime-input-icon {
|
|
64
|
+
flex-shrink: 0;
|
|
65
|
+
color: var(--a2ui-icon-color-muted);
|
|
66
|
+
font-size: 20px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.datetime-input-error,
|
|
70
|
+
.datetime-dialog-error {
|
|
71
|
+
color: var(--a2ui-color-input-error);
|
|
72
|
+
font-size: 11px;
|
|
73
|
+
line-height: 1.5;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.datetime-dialog-view {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: 100%;
|
|
82
|
+
padding: 20px;
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.datetime-dialog-backdrop {
|
|
87
|
+
background-color: rgba(15, 23, 42, 0.28);
|
|
88
|
+
transition: opacity 0.18s ease;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.datetime-dialog-backdrop.ui-entering,
|
|
92
|
+
.datetime-dialog-backdrop.ui-open {
|
|
93
|
+
opacity: 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.datetime-dialog-backdrop.ui-leaving,
|
|
97
|
+
.datetime-dialog-backdrop.ui-closed {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.datetime-dialog-content {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
gap: 16px;
|
|
105
|
+
width: 100%;
|
|
106
|
+
max-width: 380px;
|
|
107
|
+
padding: 18px;
|
|
108
|
+
border-width: 1px;
|
|
109
|
+
border-style: solid;
|
|
110
|
+
border-color: var(--a2ui-color-border-strong);
|
|
111
|
+
border-radius: 20px;
|
|
112
|
+
background-color: var(--a2ui-color-surface-strong);
|
|
113
|
+
box-shadow: 0 16px 40px var(--a2ui-color-overlay);
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
transition: opacity 0.18s ease, transform 0.18s ease;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.datetime-dialog-content.ui-entering,
|
|
119
|
+
.datetime-dialog-content.ui-open {
|
|
120
|
+
opacity: 1;
|
|
121
|
+
transform: translateY(0);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.datetime-dialog-content.ui-leaving,
|
|
125
|
+
.datetime-dialog-content.ui-closed {
|
|
126
|
+
opacity: 0;
|
|
127
|
+
transform: translateY(8px);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.datetime-dialog-header,
|
|
131
|
+
.datetime-calendar-header,
|
|
132
|
+
.datetime-dialog-actions {
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-direction: row;
|
|
135
|
+
align-items: center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.datetime-dialog-header,
|
|
139
|
+
.datetime-calendar-header {
|
|
140
|
+
justify-content: space-between;
|
|
141
|
+
gap: 12px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.datetime-dialog-title {
|
|
145
|
+
min-width: 0;
|
|
146
|
+
color: var(--a2ui-color-on-surface);
|
|
147
|
+
font-size: 17px;
|
|
148
|
+
font-weight: 700;
|
|
149
|
+
line-height: 1.4;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.datetime-dialog-close,
|
|
153
|
+
.datetime-calendar-nav {
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
flex-shrink: 0;
|
|
158
|
+
width: 34px;
|
|
159
|
+
height: 34px;
|
|
160
|
+
border-radius: 999px;
|
|
161
|
+
background-color: var(--a2ui-color-surface-muted);
|
|
162
|
+
color: var(--a2ui-color-text-muted);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.datetime-dialog-close.ui-active,
|
|
166
|
+
.datetime-calendar-nav.ui-active {
|
|
167
|
+
background-color: var(--a2ui-color-secondary);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.datetime-dialog-close-icon,
|
|
171
|
+
.datetime-calendar-nav-icon {
|
|
172
|
+
color: inherit;
|
|
173
|
+
font-size: 20px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.datetime-calendar {
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-direction: column;
|
|
179
|
+
gap: 10px;
|
|
180
|
+
width: 100%;
|
|
181
|
+
min-width: 0;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.datetime-calendar-caption {
|
|
185
|
+
min-width: 0;
|
|
186
|
+
color: var(--a2ui-color-on-surface);
|
|
187
|
+
font-size: 15px;
|
|
188
|
+
font-weight: 700;
|
|
189
|
+
line-height: 1.4;
|
|
190
|
+
text-align: center;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.datetime-weekdays,
|
|
194
|
+
.datetime-month {
|
|
195
|
+
display: grid;
|
|
196
|
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
197
|
+
width: 100%;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.datetime-weekday {
|
|
201
|
+
display: flex;
|
|
202
|
+
align-items: center;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
height: 24px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.datetime-weekday-text {
|
|
208
|
+
color: var(--a2ui-color-text-subtle);
|
|
209
|
+
font-size: 11px;
|
|
210
|
+
font-weight: 700;
|
|
211
|
+
line-height: 1.2;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.datetime-month {
|
|
215
|
+
grid-template-rows: 40px 40px 40px 40px 40px 40px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.datetime-day {
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
justify-content: center;
|
|
222
|
+
margin: 2px;
|
|
223
|
+
border-width: 1px;
|
|
224
|
+
border-style: solid;
|
|
225
|
+
border-color: transparent;
|
|
226
|
+
border-radius: 10px;
|
|
227
|
+
background-color: transparent;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.datetime-day.ui-active {
|
|
231
|
+
background-color: var(--a2ui-color-surface-muted);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.datetime-day-text {
|
|
235
|
+
color: var(--a2ui-color-on-surface);
|
|
236
|
+
font-size: 14px;
|
|
237
|
+
font-weight: 600;
|
|
238
|
+
line-height: 1.2;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.datetime-day-outside .datetime-day-text {
|
|
242
|
+
color: var(--a2ui-color-text-subtle);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.datetime-day-today {
|
|
246
|
+
border-color: var(--a2ui-color-primary);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.datetime-day-selected {
|
|
250
|
+
border-color: var(--a2ui-color-primary);
|
|
251
|
+
background-color: var(--a2ui-color-primary);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.datetime-day-selected .datetime-day-text {
|
|
255
|
+
color: var(--a2ui-color-on-primary);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.datetime-day-disabled {
|
|
259
|
+
opacity: 0.36;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.datetime-time {
|
|
263
|
+
display: flex;
|
|
264
|
+
flex-direction: column;
|
|
265
|
+
gap: 10px;
|
|
266
|
+
width: 100%;
|
|
267
|
+
min-width: 0;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.datetime-time-label {
|
|
271
|
+
color: var(--a2ui-color-text-muted);
|
|
272
|
+
font-size: 13px;
|
|
273
|
+
font-weight: 600;
|
|
274
|
+
line-height: 1.5;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.datetime-time-fields {
|
|
278
|
+
display: flex;
|
|
279
|
+
flex-direction: row;
|
|
280
|
+
align-items: center;
|
|
281
|
+
justify-content: center;
|
|
282
|
+
gap: 12px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.datetime-time-field {
|
|
286
|
+
display: flex;
|
|
287
|
+
flex-direction: column;
|
|
288
|
+
align-items: center;
|
|
289
|
+
justify-content: center;
|
|
290
|
+
width: 72px;
|
|
291
|
+
min-width: 0;
|
|
292
|
+
overflow: hidden;
|
|
293
|
+
border-width: 1px;
|
|
294
|
+
border-style: solid;
|
|
295
|
+
border-color: var(--a2ui-color-border-strong);
|
|
296
|
+
border-radius: 14px;
|
|
297
|
+
background-color: var(--a2ui-color-surface);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.datetime-time-value {
|
|
301
|
+
color: var(--a2ui-color-on-surface);
|
|
302
|
+
font-size: 24px;
|
|
303
|
+
font-weight: 700;
|
|
304
|
+
line-height: 1.4;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.datetime-time-separator {
|
|
308
|
+
color: var(--a2ui-color-text-muted);
|
|
309
|
+
font-size: 24px;
|
|
310
|
+
font-weight: 700;
|
|
311
|
+
line-height: 1.4;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.datetime-time-stepper {
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
width: 100%;
|
|
319
|
+
height: 30px;
|
|
320
|
+
color: var(--a2ui-color-text-muted);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.datetime-time-stepper.ui-active {
|
|
324
|
+
background-color: var(--a2ui-color-surface-muted);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.datetime-time-stepper-icon {
|
|
328
|
+
color: inherit;
|
|
329
|
+
font-size: 22px;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.datetime-dialog-actions {
|
|
333
|
+
justify-content: flex-end;
|
|
334
|
+
gap: 10px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.datetime-dialog-button {
|
|
338
|
+
display: flex;
|
|
339
|
+
align-items: center;
|
|
340
|
+
justify-content: center;
|
|
341
|
+
min-width: 86px;
|
|
342
|
+
min-height: 40px;
|
|
343
|
+
padding-top: 8px;
|
|
344
|
+
padding-right: 16px;
|
|
345
|
+
padding-bottom: 8px;
|
|
346
|
+
padding-left: 16px;
|
|
347
|
+
border-radius: 999px;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.datetime-dialog-button-secondary {
|
|
351
|
+
background-color: var(--a2ui-color-surface-muted);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.datetime-dialog-button-primary {
|
|
355
|
+
background-color: var(--a2ui-color-primary);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.datetime-dialog-button-disabled {
|
|
359
|
+
opacity: 0.45;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.datetime-dialog-button-text-secondary,
|
|
363
|
+
.datetime-dialog-button-text-primary {
|
|
364
|
+
font-size: 14px;
|
|
365
|
+
font-weight: 700;
|
|
366
|
+
line-height: 1.4;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.datetime-dialog-button-text-secondary {
|
|
370
|
+
color: var(--a2ui-color-on-surface);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.datetime-dialog-button-text-primary {
|
|
374
|
+
color: var(--a2ui-color-on-primary);
|
|
375
|
+
}
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.text-h1 {
|
|
17
|
-
font-size:
|
|
17
|
+
font-size: 24px;
|
|
18
18
|
font-weight: bold;
|
|
19
19
|
color: var(--a2ui-color-on-surface);
|
|
20
|
-
line-height: 1.
|
|
20
|
+
line-height: 1.2;
|
|
21
21
|
flex-shrink: 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.text-h2 {
|
|
25
|
-
font-size:
|
|
25
|
+
font-size: 20px;
|
|
26
26
|
font-weight: bold;
|
|
27
27
|
color: var(--a2ui-color-on-surface);
|
|
28
28
|
line-height: 1.2;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.text-h3 {
|
|
33
|
-
font-size:
|
|
33
|
+
font-size: 16px;
|
|
34
34
|
font-weight: bold;
|
|
35
35
|
color: var(--a2ui-color-on-surface);
|
|
36
36
|
line-height: 1.2;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.text-h4 {
|
|
41
|
-
font-size:
|
|
41
|
+
font-size: 14px;
|
|
42
42
|
font-weight: bold;
|
|
43
43
|
color: var(--a2ui-color-on-surface);
|
|
44
44
|
line-height: 1.2;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.text-h5 {
|
|
49
|
-
font-size:
|
|
49
|
+
font-size: 12px;
|
|
50
50
|
font-weight: bold;
|
|
51
51
|
color: var(--a2ui-color-on-surface);
|
|
52
52
|
line-height: 1.2;
|
|
@@ -54,28 +54,24 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.text-caption {
|
|
57
|
-
font-size:
|
|
57
|
+
font-size: 10px;
|
|
58
58
|
color: var(--a2ui-color-text-muted);
|
|
59
59
|
line-height: 1.5;
|
|
60
60
|
flex-shrink: 0;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.text-body {
|
|
64
|
-
font-size:
|
|
64
|
+
font-size: 14px;
|
|
65
65
|
font-weight: normal;
|
|
66
66
|
color: var(--a2ui-color-on-surface);
|
|
67
67
|
line-height: 1.5;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.text-
|
|
71
|
-
font-weight: 500;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.text-weight-1-5 {
|
|
70
|
+
.text-emphasis-medium {
|
|
75
71
|
font-weight: 600;
|
|
76
72
|
}
|
|
77
73
|
|
|
78
|
-
.text-
|
|
74
|
+
.text-emphasis-strong {
|
|
79
75
|
font-weight: 700;
|
|
80
76
|
}
|
|
81
77
|
|
|
@@ -83,7 +79,7 @@
|
|
|
83
79
|
|
|
84
80
|
.text-price {
|
|
85
81
|
flex-shrink: 0;
|
|
86
|
-
font-size:
|
|
82
|
+
font-size: 15px;
|
|
87
83
|
font-weight: bold;
|
|
88
84
|
color: var(--a2ui-color-primary);
|
|
89
85
|
line-height: 1.5;
|
|
@@ -91,7 +87,7 @@
|
|
|
91
87
|
|
|
92
88
|
.text-link {
|
|
93
89
|
flex-shrink: 0;
|
|
94
|
-
font-size:
|
|
90
|
+
font-size: 14px;
|
|
95
91
|
font-weight: 600;
|
|
96
92
|
color: var(--a2ui-color-primary-hover);
|
|
97
93
|
text-decoration: underline;
|
|
@@ -100,7 +96,7 @@
|
|
|
100
96
|
|
|
101
97
|
.text-label {
|
|
102
98
|
flex-shrink: 0;
|
|
103
|
-
font-size:
|
|
99
|
+
font-size: 10px;
|
|
104
100
|
font-weight: bold;
|
|
105
101
|
color: var(--a2ui-color-text-muted);
|
|
106
102
|
letter-spacing: 0.8px;
|