@planningcenter/tapestry-react 4.11.5 → 4.11.6-rc.1
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/dist/Button/Button.d.ts.map +1 -1
- package/dist/Button/Button.js +1 -1
- package/dist/Checkbox/Checkbox.js +1 -1
- package/dist/Dialog/Dialog.d.ts.map +1 -1
- package/dist/Dialog/Dialog.js +1 -1
- package/dist/Field/Field.d.ts.map +1 -1
- package/dist/Field/Field.js +1 -1
- package/dist/Icon/Status.d.ts.map +1 -1
- package/dist/Icon/Status.js +1 -1
- package/dist/Logo/logos/api.js +1 -1
- package/dist/Logo/logos/calendar.d.ts.map +1 -1
- package/dist/Logo/logos/calendar.js +1 -1
- package/dist/Logo/logos/check-ins.d.ts.map +1 -1
- package/dist/Logo/logos/check-ins.js +1 -1
- package/dist/Logo/logos/church-center.d.ts.map +1 -1
- package/dist/Logo/logos/church-center.js +1 -1
- package/dist/Logo/logos/giving.d.ts.map +1 -1
- package/dist/Logo/logos/giving.js +1 -1
- package/dist/Logo/logos/groups.d.ts.map +1 -1
- package/dist/Logo/logos/groups.js +1 -1
- package/dist/Logo/logos/headcounts.d.ts.map +1 -1
- package/dist/Logo/logos/headcounts.js +1 -1
- package/dist/Logo/logos/home.d.ts.map +1 -1
- package/dist/Logo/logos/home.js +1 -1
- package/dist/Logo/logos/login.js +1 -1
- package/dist/Logo/logos/music-stand.js +1 -1
- package/dist/Logo/logos/people.d.ts.map +1 -1
- package/dist/Logo/logos/people.js +1 -1
- package/dist/Logo/logos/planning-center.js +1 -1
- package/dist/Logo/logos/publishing.d.ts.map +1 -1
- package/dist/Logo/logos/publishing.js +1 -1
- package/dist/Logo/logos/registrations.js +1 -1
- package/dist/Logo/logos/services.d.ts.map +1 -1
- package/dist/Logo/logos/services.js +1 -1
- package/dist/Pagination/Pagination.d.ts.map +1 -1
- package/dist/Pagination/Pagination.js +1 -1
- package/dist/Radio/Radio.d.ts.map +1 -1
- package/dist/Radio/Radio.js +1 -1
- package/dist/Sortable/SortableEmpty.d.ts.map +1 -1
- package/dist/Sortable/SortableEmpty.js +1 -1
- package/dist/Sortable/SortableItem.d.ts.map +1 -1
- package/dist/Sortable/SortableItem.js +1 -1
- package/dist/Sortable/SortableList.d.ts.map +1 -1
- package/dist/Sortable/SortableList.js +1 -1
- package/dist/Table/BodyRow.js +1 -1
- package/dist/Table/NavigationArrow.d.ts.map +1 -1
- package/dist/Table/NavigationArrow.js +1 -1
- package/dist/Table/Table.js +1 -1
- package/dist/Table/TableContainer.js +1 -1
- package/dist/TimeField/TimeField.js +1 -1
- package/dist/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/ToggleSwitch/ToggleSwitch.js +1 -1
- package/dist/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/Tooltip/Tooltip.js +1 -1
- package/dist/designTokens/index.d.ts +29 -25
- package/dist/designTokens/index.d.ts.map +1 -1
- package/dist/designTokens/index.js +1 -1
- package/dist/system/button-themes.d.ts +285 -40
- package/dist/system/button-themes.d.ts.map +1 -1
- package/dist/system/button-themes.js +1 -1
- package/dist/system/colors/colors.d.ts +61 -57
- package/dist/system/colors/colors.d.ts.map +1 -1
- package/dist/system/colors/colors.js +1 -1
- package/dist/system/default-theme.d.ts +304 -53
- package/dist/system/default-theme.d.ts.map +1 -1
- package/dist/system/default-theme.js +1 -1
- package/dist/system/utils.d.ts +1 -1
- package/dist/system/utils.d.ts.map +1 -1
- package/dist/system/utils.js +1 -1
- package/package.json +2 -2
|
@@ -1,58 +1,62 @@
|
|
|
1
1
|
export declare const designTokens: {
|
|
2
2
|
button: {
|
|
3
|
-
borderRadius: "
|
|
3
|
+
borderRadius: "var(--t-border-radius-md)";
|
|
4
4
|
};
|
|
5
5
|
checkbox: {
|
|
6
6
|
borderColor: string;
|
|
7
|
-
disabledLabelColor: "
|
|
8
|
-
labelColor: "
|
|
7
|
+
disabledLabelColor: "var(--t-text-color-default-disabled)";
|
|
8
|
+
labelColor: "var(--t-text-color-default-primary)";
|
|
9
9
|
};
|
|
10
10
|
input: {
|
|
11
11
|
borderRadius: number;
|
|
12
|
-
readOnlyBackgroundColor: "
|
|
12
|
+
readOnlyBackgroundColor: "var(--t-fill-color-neutral-080)";
|
|
13
13
|
};
|
|
14
14
|
radio: {
|
|
15
|
-
borderColor:
|
|
16
|
-
checkedColor: "
|
|
15
|
+
borderColor: "var(--t-border-color-control-neutral)";
|
|
16
|
+
checkedColor: "var(--t-fill-color-control-primary)";
|
|
17
|
+
checkedFillColor: "var(--t-fill-color-neutral-100)";
|
|
17
18
|
disabled: {
|
|
18
|
-
borderColor: "
|
|
19
|
-
checkedColor: "
|
|
20
|
-
checkedFillColor: "
|
|
21
|
-
fillColor: "
|
|
22
|
-
labelColor: "
|
|
19
|
+
borderColor: "var(--t-border-color-control-disabled)";
|
|
20
|
+
checkedColor: "var(--t-border-color-control-disabled)";
|
|
21
|
+
checkedFillColor: "var(--t-surface-color-card)";
|
|
22
|
+
fillColor: "var(--t-fill-color-neutral-070)";
|
|
23
|
+
labelColor: "var(--t-text-color-default-disabled)";
|
|
24
|
+
};
|
|
25
|
+
error: {
|
|
26
|
+
borderColor: "var(--t-border-color-control-error)";
|
|
27
|
+
fillColor: "var(--t-fill-color-status-error-ghost)";
|
|
23
28
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
labelColor: string;
|
|
29
|
+
fillColor: "var(--t-surface-color-card)";
|
|
30
|
+
labelColor: "var(--t-text-color-default-primary)";
|
|
27
31
|
};
|
|
28
32
|
tabNav: {
|
|
29
33
|
desktop: {
|
|
30
34
|
paddingX: number;
|
|
31
|
-
selectedTabBackgroundColor: "
|
|
35
|
+
selectedTabBackgroundColor: "var(--t-fill-color-neutral-100)";
|
|
32
36
|
spacing: number;
|
|
33
37
|
};
|
|
34
38
|
mobile: {
|
|
35
|
-
backgroundColor: "
|
|
36
|
-
borderBottomColor: "
|
|
39
|
+
backgroundColor: "var(--t-fill-color-neutral-100)";
|
|
40
|
+
borderBottomColor: "var(--t-fill-color-neutral-050)";
|
|
37
41
|
borderBottomStyle: string;
|
|
38
42
|
borderBottomWidth: number;
|
|
39
43
|
paddingX: number;
|
|
40
44
|
spacing: number;
|
|
41
45
|
};
|
|
42
46
|
tab: {
|
|
43
|
-
badgeBackgroundColor: "
|
|
47
|
+
badgeBackgroundColor: "var(--t-fill-color-transparency-dark-010)";
|
|
44
48
|
badgeFontSize: number;
|
|
45
|
-
badgeTextColor: "
|
|
49
|
+
badgeTextColor: "var(--t-fill-color-transparency-dark-080)";
|
|
46
50
|
desktop: {
|
|
47
|
-
activeTextColor: "
|
|
51
|
+
activeTextColor: "var(--t-fill-color-transparency-dark-080)";
|
|
48
52
|
borderRadiusTop: number;
|
|
49
|
-
defaultBackgroundColor: "
|
|
53
|
+
defaultBackgroundColor: "var(--t-fill-color-transparency-light-050)";
|
|
50
54
|
fontSize: number;
|
|
51
55
|
height: number;
|
|
52
|
-
hoverTextColor: "
|
|
56
|
+
hoverTextColor: "var(--t-fill-color-transparency-dark-080)";
|
|
53
57
|
paddingX: number;
|
|
54
58
|
};
|
|
55
|
-
disabledTextColor: "
|
|
59
|
+
disabledTextColor: "var(--t-fill-color-transparency-dark-040)";
|
|
56
60
|
iconColor: string;
|
|
57
61
|
mobile: {
|
|
58
62
|
borderBottomWidth: number;
|
|
@@ -61,8 +65,8 @@ export declare const designTokens: {
|
|
|
61
65
|
paddingBottom: number;
|
|
62
66
|
paddingTop: number;
|
|
63
67
|
};
|
|
64
|
-
selectedTextColor: "
|
|
65
|
-
textColor: "
|
|
68
|
+
selectedTextColor: "var(--t-fill-color-transparency-dark-080)";
|
|
69
|
+
textColor: "var(--t-fill-color-transparency-dark-060)";
|
|
66
70
|
};
|
|
67
71
|
};
|
|
68
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/designTokens/index.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/designTokens/index.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuExB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{token as l}from"@planningcenter/tapestry";var o={black:"hsl(0, 0%, 0%)",black10:l("--t-fill-color-transparency-dark-010"),black40:l("--t-fill-color-transparency-dark-040"),black60:l("--t-fill-color-transparency-dark-060"),black80:l("--t-fill-color-transparency-dark-080"),delete47:l("--t-fill-color-button-delete-solid-default"),interaction66:l("--t-icon-color-status-info-primary"),lightNeutral07:"hsl(0, 0%, 7%)",lightNeutral12:l("--t-fill-color-neutral-000"),lightNeutral15:"hsl(0, 0%, 15%)",lightNeutral17:"hsl(0, 0%, 17%)",lightNeutral19:"hsl(0, 0%, 19%)",lightNeutral24:l("--t-fill-color-neutral-010"),lightNeutral32:"hsl(0, 0%, 32%)",lightNeutral40:"hsl(0, 0%, 40%)",lightNeutral45:l("--t-fill-color-neutral-020"),lightNeutral50:"hsl(0, 0%, 50%)",lightNeutral62:l("--t-fill-color-neutral-030"),lightNeutral68:"hsl(0, 0%, 68%)",lightNeutral81:l("--t-fill-color-neutral-040"),lightNeutral88:l("--t-fill-color-neutral-050"),lightNeutral93:l("--t-fill-color-neutral-060"),lightNeutral95:l("--t-fill-color-neutral-070"),lightNeutral97:l("--t-fill-color-neutral-080"),lightNeutral98:l("--t-fill-color-neutral-090"),lightNeutral100:l("--t-fill-color-neutral-100"),white:l("--t-fill-color-neutral-100"),white45:l("--t-fill-color-transparency-light-050")},r={button:{borderRadius:l("--t-border-radius-md")},checkbox:{borderColor:o.lightNeutral68,disabledLabelColor:l("--t-text-color-default-disabled"),labelColor:l("--t-text-color-default-primary")},input:{borderRadius:4,readOnlyBackgroundColor:o.lightNeutral97},radio:{borderColor:l("--t-border-color-control-neutral"),checkedColor:l("--t-fill-color-control-primary"),checkedFillColor:o.white,disabled:{borderColor:l("--t-border-color-control-disabled"),checkedColor:l("--t-border-color-control-disabled"),checkedFillColor:l("--t-surface-color-card"),fillColor:l("--t-fill-color-neutral-070"),labelColor:l("--t-text-color-default-disabled")},error:{borderColor:l("--t-border-color-control-error"),fillColor:l("--t-fill-color-status-error-ghost")},fillColor:l("--t-surface-color-card"),labelColor:l("--t-text-color-default-primary")},tabNav:{desktop:{paddingX:24,selectedTabBackgroundColor:o.white,spacing:8},mobile:{backgroundColor:o.white,borderBottomColor:o.lightNeutral88,borderBottomStyle:"solid",borderBottomWidth:1,paddingX:16,spacing:20},tab:{badgeBackgroundColor:o.black10,badgeFontSize:12,badgeTextColor:o.black80,desktop:{activeTextColor:o.black80,borderRadiusTop:4,defaultBackgroundColor:o.white45,fontSize:14,height:40,hoverTextColor:o.black80,paddingX:16},disabledTextColor:o.black40,iconColor:o.lightNeutral40,mobile:{borderBottomWidth:3,fontSize:16,height:44,paddingBottom:10,paddingTop:7},selectedTextColor:o.black80,textColor:o.black60}}};export{r as designTokens};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -9,6 +9,11 @@ export declare const buttonThemes: {
|
|
|
9
9
|
hover: {
|
|
10
10
|
backgroundColor: string;
|
|
11
11
|
};
|
|
12
|
+
disabled: {
|
|
13
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
14
|
+
color: "var(--t-text-color-default-disabled)";
|
|
15
|
+
opacity: number;
|
|
16
|
+
};
|
|
12
17
|
};
|
|
13
18
|
naked: {
|
|
14
19
|
active: {
|
|
@@ -18,6 +23,10 @@ export declare const buttonThemes: {
|
|
|
18
23
|
hover: {
|
|
19
24
|
backgroundColor: string;
|
|
20
25
|
};
|
|
26
|
+
disabled: {
|
|
27
|
+
color: "var(--t-text-color-default-disabled)";
|
|
28
|
+
opacity: number;
|
|
29
|
+
};
|
|
21
30
|
};
|
|
22
31
|
outline: {
|
|
23
32
|
active: {
|
|
@@ -28,68 +37,214 @@ export declare const buttonThemes: {
|
|
|
28
37
|
backgroundColor: string;
|
|
29
38
|
};
|
|
30
39
|
stroke: string;
|
|
40
|
+
disabled: {
|
|
41
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
42
|
+
color: "var(--t-text-color-default-disabled)";
|
|
43
|
+
opacity: number;
|
|
44
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
45
|
+
};
|
|
31
46
|
};
|
|
32
47
|
};
|
|
33
48
|
default: {
|
|
34
49
|
fill: {
|
|
50
|
+
backgroundColor: "var(--t-fill-color-button-neutral-solid-default)";
|
|
51
|
+
color: "var(--t-text-color-status-neutral)";
|
|
52
|
+
hover: {
|
|
53
|
+
backgroundColor: "var(--t-fill-color-button-neutral-solid-hover)";
|
|
54
|
+
};
|
|
35
55
|
active: {
|
|
36
|
-
backgroundColor:
|
|
56
|
+
backgroundColor: "var(--t-fill-color-button-neutral-solid-active)";
|
|
37
57
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
58
|
+
disabled: {
|
|
59
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
60
|
+
color: "var(--t-text-color-default-disabled)";
|
|
61
|
+
opacity: number;
|
|
42
62
|
};
|
|
43
63
|
};
|
|
44
64
|
naked: {
|
|
65
|
+
color: "var(--t-text-color-status-neutral)";
|
|
66
|
+
hover: {
|
|
67
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
68
|
+
};
|
|
45
69
|
active: {
|
|
46
|
-
backgroundColor:
|
|
70
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
47
71
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
72
|
+
disabled: {
|
|
73
|
+
color: "var(--t-text-color-default-disabled)";
|
|
74
|
+
opacity: number;
|
|
51
75
|
};
|
|
52
76
|
};
|
|
53
77
|
outline: {
|
|
78
|
+
color: "var(--t-text-color-status-neutral)";
|
|
79
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
80
|
+
hover: {
|
|
81
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
82
|
+
};
|
|
54
83
|
active: {
|
|
55
|
-
backgroundColor:
|
|
84
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
56
85
|
};
|
|
57
|
-
|
|
86
|
+
disabled: {
|
|
87
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
88
|
+
color: "var(--t-text-color-default-disabled)";
|
|
89
|
+
opacity: number;
|
|
90
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
secondaryPageHeader: {
|
|
95
|
+
fill: {
|
|
96
|
+
color: "var(--t-text-color-status-neutral)";
|
|
97
|
+
backgroundColor: "var(--t-fill-color-button-neutral-responsive-header-default)";
|
|
98
|
+
stroke: string;
|
|
58
99
|
hover: {
|
|
59
|
-
backgroundColor:
|
|
100
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
101
|
+
};
|
|
102
|
+
active: {
|
|
103
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
104
|
+
};
|
|
105
|
+
disabled: {
|
|
106
|
+
color: "var(--t-text-color-default-disabled)";
|
|
107
|
+
backgroundColor: "var(--t-fill-color-button-neutral-responsive-header-disabled)";
|
|
108
|
+
borderColor: "var(--t-fill-color-button-neutral-responsive-header-disabled)";
|
|
109
|
+
opacity: number;
|
|
110
|
+
};
|
|
111
|
+
mediaQueries: {
|
|
112
|
+
"@media (min-width: 600px)": {
|
|
113
|
+
color: "var(--t-text-color-status-neutral)";
|
|
114
|
+
backgroundColor: string;
|
|
115
|
+
boxShadow: string;
|
|
116
|
+
hover: {
|
|
117
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
118
|
+
};
|
|
119
|
+
active: {
|
|
120
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
121
|
+
};
|
|
122
|
+
disabled: {
|
|
123
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
124
|
+
color: "var(--t-text-color-default-disabled)";
|
|
125
|
+
opacity: number;
|
|
126
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
naked: {
|
|
132
|
+
color: "var(--t-text-color-status-neutral)";
|
|
133
|
+
backgroundColor: "var(--t-fill-color-button-neutral-responsive-header-default)";
|
|
134
|
+
stroke: string;
|
|
135
|
+
hover: {
|
|
136
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
60
137
|
};
|
|
138
|
+
active: {
|
|
139
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
140
|
+
};
|
|
141
|
+
disabled: {
|
|
142
|
+
color: "var(--t-text-color-default-disabled)";
|
|
143
|
+
backgroundColor: "var(--t-fill-color-button-neutral-responsive-header-disabled)";
|
|
144
|
+
borderColor: "var(--t-fill-color-button-neutral-responsive-header-disabled)";
|
|
145
|
+
opacity: number;
|
|
146
|
+
};
|
|
147
|
+
mediaQueries: {
|
|
148
|
+
"@media (min-width: 600px)": {
|
|
149
|
+
color: "var(--t-text-color-status-neutral)";
|
|
150
|
+
backgroundColor: string;
|
|
151
|
+
boxShadow: string;
|
|
152
|
+
hover: {
|
|
153
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
154
|
+
};
|
|
155
|
+
active: {
|
|
156
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
157
|
+
};
|
|
158
|
+
disabled: {
|
|
159
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
160
|
+
color: "var(--t-text-color-default-disabled)";
|
|
161
|
+
opacity: number;
|
|
162
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
outline: {
|
|
168
|
+
color: "var(--t-text-color-status-neutral)";
|
|
169
|
+
backgroundColor: "var(--t-fill-color-button-neutral-responsive-header-default)";
|
|
61
170
|
stroke: string;
|
|
171
|
+
hover: {
|
|
172
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
173
|
+
};
|
|
174
|
+
active: {
|
|
175
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
176
|
+
};
|
|
177
|
+
disabled: {
|
|
178
|
+
color: "var(--t-text-color-default-disabled)";
|
|
179
|
+
backgroundColor: "var(--t-fill-color-button-neutral-responsive-header-disabled)";
|
|
180
|
+
borderColor: "var(--t-fill-color-button-neutral-responsive-header-disabled)";
|
|
181
|
+
opacity: number;
|
|
182
|
+
};
|
|
183
|
+
mediaQueries: {
|
|
184
|
+
"@media (min-width: 600px)": {
|
|
185
|
+
color: "var(--t-text-color-status-neutral)";
|
|
186
|
+
backgroundColor: string;
|
|
187
|
+
boxShadow: string;
|
|
188
|
+
hover: {
|
|
189
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-hover)";
|
|
190
|
+
};
|
|
191
|
+
active: {
|
|
192
|
+
backgroundColor: "var(--t-fill-color-button-neutral-outline-dim-active)";
|
|
193
|
+
};
|
|
194
|
+
disabled: {
|
|
195
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
196
|
+
color: "var(--t-text-color-default-disabled)";
|
|
197
|
+
opacity: number;
|
|
198
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
62
202
|
};
|
|
63
203
|
};
|
|
64
204
|
error: {
|
|
65
205
|
fill: {
|
|
206
|
+
backgroundColor: "var(--t-fill-color-button-delete-solid-default)";
|
|
207
|
+
color: "var(--t-text-color-default-inverted)";
|
|
208
|
+
hover: {
|
|
209
|
+
backgroundColor: "var(--t-fill-color-button-delete-solid-hover)";
|
|
210
|
+
};
|
|
66
211
|
active: {
|
|
67
|
-
backgroundColor:
|
|
212
|
+
backgroundColor: "var(--t-fill-color-button-delete-solid-active)";
|
|
68
213
|
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
214
|
+
disabled: {
|
|
215
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
216
|
+
color: "var(--t-text-color-default-disabled)";
|
|
217
|
+
opacity: number;
|
|
73
218
|
};
|
|
74
219
|
};
|
|
75
220
|
naked: {
|
|
221
|
+
color: "var(--t-text-color-status-error)";
|
|
222
|
+
hover: {
|
|
223
|
+
backgroundColor: "var(--t-fill-color-button-delete-outline-dim-hover)";
|
|
224
|
+
};
|
|
76
225
|
active: {
|
|
77
|
-
backgroundColor:
|
|
226
|
+
backgroundColor: "var(--t-fill-color-button-delete-outline-dim-active)";
|
|
78
227
|
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
228
|
+
disabled: {
|
|
229
|
+
color: "var(--t-text-color-default-disabled)";
|
|
230
|
+
opacity: number;
|
|
82
231
|
};
|
|
83
232
|
};
|
|
84
233
|
outline: {
|
|
234
|
+
color: "var(--t-text-color-status-error)";
|
|
235
|
+
stroke: "var(--t-border-color-button-delete)";
|
|
236
|
+
hover: {
|
|
237
|
+
backgroundColor: "var(--t-fill-color-button-delete-outline-dim-hover)";
|
|
238
|
+
};
|
|
85
239
|
active: {
|
|
86
|
-
backgroundColor:
|
|
240
|
+
backgroundColor: "var(--t-fill-color-button-delete-outline-dim-active)";
|
|
87
241
|
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
242
|
+
disabled: {
|
|
243
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
244
|
+
color: "var(--t-text-color-default-disabled)";
|
|
245
|
+
opacity: number;
|
|
246
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
91
247
|
};
|
|
92
|
-
stroke: string;
|
|
93
248
|
};
|
|
94
249
|
};
|
|
95
250
|
info: {
|
|
@@ -102,6 +257,11 @@ export declare const buttonThemes: {
|
|
|
102
257
|
hover: {
|
|
103
258
|
backgroundColor: string;
|
|
104
259
|
};
|
|
260
|
+
disabled: {
|
|
261
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
262
|
+
color: "var(--t-text-color-default-disabled)";
|
|
263
|
+
opacity: number;
|
|
264
|
+
};
|
|
105
265
|
};
|
|
106
266
|
naked: {
|
|
107
267
|
active: {
|
|
@@ -111,6 +271,10 @@ export declare const buttonThemes: {
|
|
|
111
271
|
hover: {
|
|
112
272
|
backgroundColor: string;
|
|
113
273
|
};
|
|
274
|
+
disabled: {
|
|
275
|
+
color: "var(--t-text-color-default-disabled)";
|
|
276
|
+
opacity: number;
|
|
277
|
+
};
|
|
114
278
|
};
|
|
115
279
|
outline: {
|
|
116
280
|
active: {
|
|
@@ -121,6 +285,12 @@ export declare const buttonThemes: {
|
|
|
121
285
|
backgroundColor: string;
|
|
122
286
|
};
|
|
123
287
|
stroke: string;
|
|
288
|
+
disabled: {
|
|
289
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
290
|
+
color: "var(--t-text-color-default-disabled)";
|
|
291
|
+
opacity: number;
|
|
292
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
293
|
+
};
|
|
124
294
|
};
|
|
125
295
|
};
|
|
126
296
|
light: {
|
|
@@ -133,6 +303,11 @@ export declare const buttonThemes: {
|
|
|
133
303
|
hover: {
|
|
134
304
|
backgroundColor: string;
|
|
135
305
|
};
|
|
306
|
+
disabled: {
|
|
307
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
308
|
+
color: "var(--t-text-color-default-disabled)";
|
|
309
|
+
opacity: number;
|
|
310
|
+
};
|
|
136
311
|
};
|
|
137
312
|
naked: {
|
|
138
313
|
active: {
|
|
@@ -142,6 +317,10 @@ export declare const buttonThemes: {
|
|
|
142
317
|
hover: {
|
|
143
318
|
backgroundColor: string;
|
|
144
319
|
};
|
|
320
|
+
disabled: {
|
|
321
|
+
color: "var(--t-text-color-default-disabled)";
|
|
322
|
+
opacity: number;
|
|
323
|
+
};
|
|
145
324
|
};
|
|
146
325
|
outline: {
|
|
147
326
|
active: {
|
|
@@ -152,37 +331,58 @@ export declare const buttonThemes: {
|
|
|
152
331
|
backgroundColor: string;
|
|
153
332
|
};
|
|
154
333
|
stroke: string;
|
|
334
|
+
disabled: {
|
|
335
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
336
|
+
color: "var(--t-text-color-default-disabled)";
|
|
337
|
+
opacity: number;
|
|
338
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
339
|
+
};
|
|
155
340
|
};
|
|
156
341
|
};
|
|
157
342
|
primary: {
|
|
158
343
|
fill: {
|
|
344
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-default)";
|
|
345
|
+
color: "var(--t-text-color-default-inverted)";
|
|
346
|
+
hover: {
|
|
347
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-hover)";
|
|
348
|
+
};
|
|
159
349
|
active: {
|
|
160
|
-
backgroundColor:
|
|
350
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-active)";
|
|
161
351
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
352
|
+
disabled: {
|
|
353
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
354
|
+
color: "var(--t-text-color-default-disabled)";
|
|
355
|
+
opacity: number;
|
|
166
356
|
};
|
|
167
357
|
};
|
|
168
358
|
naked: {
|
|
359
|
+
color: "var(--t-text-color-interaction-primary)";
|
|
360
|
+
hover: {
|
|
361
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-hover)";
|
|
362
|
+
};
|
|
169
363
|
active: {
|
|
170
|
-
backgroundColor:
|
|
364
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-active)";
|
|
171
365
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
366
|
+
disabled: {
|
|
367
|
+
color: "var(--t-text-color-default-disabled)";
|
|
368
|
+
opacity: number;
|
|
175
369
|
};
|
|
176
370
|
};
|
|
177
371
|
outline: {
|
|
372
|
+
color: "var(--t-text-color-interaction-primary)";
|
|
373
|
+
stroke: "var(--t-border-color-button-info)";
|
|
374
|
+
hover: {
|
|
375
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-hover)";
|
|
376
|
+
};
|
|
178
377
|
active: {
|
|
179
|
-
backgroundColor:
|
|
378
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-active)";
|
|
180
379
|
};
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
380
|
+
disabled: {
|
|
381
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
382
|
+
color: "var(--t-text-color-default-disabled)";
|
|
383
|
+
opacity: number;
|
|
384
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
184
385
|
};
|
|
185
|
-
stroke: string;
|
|
186
386
|
};
|
|
187
387
|
};
|
|
188
388
|
success: {
|
|
@@ -195,6 +395,11 @@ export declare const buttonThemes: {
|
|
|
195
395
|
hover: {
|
|
196
396
|
backgroundColor: string;
|
|
197
397
|
};
|
|
398
|
+
disabled: {
|
|
399
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
400
|
+
color: "var(--t-text-color-default-disabled)";
|
|
401
|
+
opacity: number;
|
|
402
|
+
};
|
|
198
403
|
};
|
|
199
404
|
naked: {
|
|
200
405
|
active: {
|
|
@@ -204,6 +409,10 @@ export declare const buttonThemes: {
|
|
|
204
409
|
hover: {
|
|
205
410
|
backgroundColor: string;
|
|
206
411
|
};
|
|
412
|
+
disabled: {
|
|
413
|
+
color: "var(--t-text-color-default-disabled)";
|
|
414
|
+
opacity: number;
|
|
415
|
+
};
|
|
207
416
|
};
|
|
208
417
|
outline: {
|
|
209
418
|
active: {
|
|
@@ -214,6 +423,12 @@ export declare const buttonThemes: {
|
|
|
214
423
|
backgroundColor: string;
|
|
215
424
|
};
|
|
216
425
|
stroke: string;
|
|
426
|
+
disabled: {
|
|
427
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
428
|
+
color: "var(--t-text-color-default-disabled)";
|
|
429
|
+
opacity: number;
|
|
430
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
431
|
+
};
|
|
217
432
|
};
|
|
218
433
|
};
|
|
219
434
|
warning: {
|
|
@@ -226,6 +441,11 @@ export declare const buttonThemes: {
|
|
|
226
441
|
hover: {
|
|
227
442
|
backgroundColor: string;
|
|
228
443
|
};
|
|
444
|
+
disabled: {
|
|
445
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
446
|
+
color: "var(--t-text-color-default-disabled)";
|
|
447
|
+
opacity: number;
|
|
448
|
+
};
|
|
229
449
|
};
|
|
230
450
|
naked: {
|
|
231
451
|
active: {
|
|
@@ -235,6 +455,10 @@ export declare const buttonThemes: {
|
|
|
235
455
|
hover: {
|
|
236
456
|
backgroundColor: string;
|
|
237
457
|
};
|
|
458
|
+
disabled: {
|
|
459
|
+
color: "var(--t-text-color-default-disabled)";
|
|
460
|
+
opacity: number;
|
|
461
|
+
};
|
|
238
462
|
};
|
|
239
463
|
outline: {
|
|
240
464
|
active: {
|
|
@@ -245,6 +469,12 @@ export declare const buttonThemes: {
|
|
|
245
469
|
backgroundColor: string;
|
|
246
470
|
};
|
|
247
471
|
stroke: string;
|
|
472
|
+
disabled: {
|
|
473
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
474
|
+
color: "var(--t-text-color-default-disabled)";
|
|
475
|
+
opacity: number;
|
|
476
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
477
|
+
};
|
|
248
478
|
};
|
|
249
479
|
};
|
|
250
480
|
white: {
|
|
@@ -257,6 +487,11 @@ export declare const buttonThemes: {
|
|
|
257
487
|
hover: {
|
|
258
488
|
backgroundColor: string;
|
|
259
489
|
};
|
|
490
|
+
disabled: {
|
|
491
|
+
backgroundColor: "var(--t-fill-color-button-interaction-solid-disabled)";
|
|
492
|
+
color: "var(--t-text-color-default-disabled)";
|
|
493
|
+
opacity: number;
|
|
494
|
+
};
|
|
260
495
|
};
|
|
261
496
|
naked: {
|
|
262
497
|
active: {
|
|
@@ -266,6 +501,10 @@ export declare const buttonThemes: {
|
|
|
266
501
|
hover: {
|
|
267
502
|
backgroundColor: string;
|
|
268
503
|
};
|
|
504
|
+
disabled: {
|
|
505
|
+
color: "var(--t-text-color-default-disabled)";
|
|
506
|
+
opacity: number;
|
|
507
|
+
};
|
|
269
508
|
};
|
|
270
509
|
outline: {
|
|
271
510
|
active: {
|
|
@@ -276,6 +515,12 @@ export declare const buttonThemes: {
|
|
|
276
515
|
backgroundColor: string;
|
|
277
516
|
};
|
|
278
517
|
stroke: string;
|
|
518
|
+
disabled: {
|
|
519
|
+
backgroundColor: "var(--t-fill-color-button-interaction-outline-dim-disabled)";
|
|
520
|
+
color: "var(--t-text-color-default-disabled)";
|
|
521
|
+
opacity: number;
|
|
522
|
+
stroke: "var(--t-border-color-button-neutral)";
|
|
523
|
+
};
|
|
279
524
|
};
|
|
280
525
|
};
|
|
281
526
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-themes.d.ts","sourceRoot":"","sources":["../../src/system/button-themes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button-themes.d.ts","sourceRoot":"","sources":["../../src/system/button-themes.ts"],"names":[],"mappings":"AA+CA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4MxB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var o={dark:{fill:{active:{backgroundColor:"dark-2"},backgroundColor:"dark-0",color:"dark-9",hover:{backgroundColor:"dark-1"}},naked:{active:{backgroundColor:"dark-1"},color:"dark-9",hover:{backgroundColor:"dark-0"}},outline:{active:{backgroundColor:"dark-1"},color:"dark-9",hover:{backgroundColor:"dark-0"},stroke:"dark-3"}},default:{fill:{
|
|
1
|
+
import{token as o}from"@planningcenter/tapestry";var l={fill:{backgroundColor:o("--t-fill-color-button-interaction-solid-disabled"),color:o("--t-text-color-default-disabled"),opacity:1},naked:{color:o("--t-text-color-default-disabled"),opacity:1},outline:{backgroundColor:o("--t-fill-color-button-interaction-outline-dim-disabled"),color:o("--t-text-color-default-disabled"),opacity:1,stroke:o("--t-border-color-button-neutral")}},r={color:o("--t-text-color-status-neutral"),backgroundColor:o("--t-fill-color-button-neutral-responsive-header-default"),stroke:"transparent",hover:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-active")},disabled:{color:o("--t-text-color-default-disabled"),backgroundColor:o("--t-fill-color-button-neutral-responsive-header-disabled"),borderColor:o("--t-fill-color-button-neutral-responsive-header-disabled"),opacity:1},mediaQueries:{"@media (min-width: 600px)":{color:o("--t-text-color-status-neutral"),backgroundColor:"var(--local-page-header-button-background-color, transparent)",boxShadow:"inset 0px 0px 0px 1px var(--t-border-color-button-neutral)",hover:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-active")},disabled:l.outline}}},t={dark:{fill:{active:{backgroundColor:"dark-2"},backgroundColor:"dark-0",color:"dark-9",hover:{backgroundColor:"dark-1"},disabled:l.fill},naked:{active:{backgroundColor:"dark-1"},color:"dark-9",hover:{backgroundColor:"dark-0"},disabled:l.naked},outline:{active:{backgroundColor:"dark-1"},color:"dark-9",hover:{backgroundColor:"dark-0"},stroke:"dark-3",disabled:l.outline}},default:{fill:{backgroundColor:o("--t-fill-color-button-neutral-solid-default"),color:o("--t-text-color-status-neutral"),hover:{backgroundColor:o("--t-fill-color-button-neutral-solid-hover")},active:{backgroundColor:o("--t-fill-color-button-neutral-solid-active")},disabled:l.fill},naked:{color:o("--t-text-color-status-neutral"),hover:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-active")},disabled:l.naked},outline:{color:o("--t-text-color-status-neutral"),stroke:o("--t-border-color-button-neutral"),hover:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-neutral-outline-dim-active")},disabled:l.outline}},secondaryPageHeader:{fill:r,naked:r,outline:r},error:{fill:{backgroundColor:o("--t-fill-color-button-delete-solid-default"),color:o("--t-text-color-default-inverted"),hover:{backgroundColor:o("--t-fill-color-button-delete-solid-hover")},active:{backgroundColor:o("--t-fill-color-button-delete-solid-active")},disabled:l.fill},naked:{color:o("--t-text-color-status-error"),hover:{backgroundColor:o("--t-fill-color-button-delete-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-delete-outline-dim-active")},disabled:l.naked},outline:{color:o("--t-text-color-status-error"),stroke:o("--t-border-color-button-delete"),hover:{backgroundColor:o("--t-fill-color-button-delete-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-delete-outline-dim-active")},disabled:l.outline}},info:{fill:{active:{backgroundColor:"blue-3"},backgroundColor:"blue-5",color:"light-9",hover:{backgroundColor:"blue-4"},disabled:l.fill},naked:{active:{backgroundColor:"blue-1"},color:"blue-5",hover:{backgroundColor:"blue-0"},disabled:l.naked},outline:{active:{backgroundColor:"blue-1"},color:"blue-5",hover:{backgroundColor:"blue-0"},stroke:"blue-5",disabled:l.outline}},light:{fill:{active:{backgroundColor:"light-3"},backgroundColor:"light-1",color:"white",hover:{backgroundColor:"light-2"},disabled:l.fill},naked:{active:{backgroundColor:"light-1"},color:"light-9",hover:{backgroundColor:"light-0"},disabled:l.naked},outline:{active:{backgroundColor:"light-1"},color:"white",hover:{backgroundColor:"light-0"},stroke:"light-3",disabled:l.outline}},primary:{fill:{backgroundColor:o("--t-fill-color-button-interaction-solid-default"),color:o("--t-text-color-default-inverted"),hover:{backgroundColor:o("--t-fill-color-button-interaction-solid-hover")},active:{backgroundColor:o("--t-fill-color-button-interaction-solid-active")},disabled:l.fill},naked:{color:o("--t-text-color-interaction-primary"),hover:{backgroundColor:o("--t-fill-color-button-interaction-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-interaction-outline-dim-active")},disabled:l.naked},outline:{color:o("--t-text-color-interaction-primary"),stroke:o("--t-border-color-button-info"),hover:{backgroundColor:o("--t-fill-color-button-interaction-outline-dim-hover")},active:{backgroundColor:o("--t-fill-color-button-interaction-outline-dim-active")},disabled:l.outline}},success:{fill:{active:{backgroundColor:"success-darker"},backgroundColor:"success",color:"white",hover:{backgroundColor:"success-dark"},disabled:l.fill},naked:{active:{backgroundColor:"success-lighter"},color:"success",hover:{backgroundColor:"success-lightest"},disabled:l.naked},outline:{active:{backgroundColor:"success-lighter"},color:"success",hover:{backgroundColor:"success-lightest"},stroke:"success",disabled:l.outline}},warning:{fill:{active:{backgroundColor:"yellow-3"},backgroundColor:"yellow-5",color:"dark-9",hover:{backgroundColor:"yellow-4"},disabled:l.fill},naked:{active:{backgroundColor:"yellow-1"},color:"yellow-9",hover:{backgroundColor:"yellow-0"},disabled:l.naked},outline:{active:{backgroundColor:"yellow-1"},color:"yellow-9",hover:{backgroundColor:"yellow-0"},stroke:"yellow-5",disabled:l.outline}},white:{fill:{active:{backgroundColor:"grey-1"},backgroundColor:"white",color:"primary",hover:{backgroundColor:"grey-0"},disabled:l.fill},naked:{active:{backgroundColor:"light-1"},color:"white",hover:{backgroundColor:"light-0"},disabled:l.naked},outline:{active:{backgroundColor:"light-1"},color:"white",hover:{backgroundColor:"light-0"},stroke:"white",disabled:l.outline}}};export{t as buttonThemes};
|
|
2
2
|
//# sourceMappingURL=button-themes.js.map
|