@pontive/pontkit-core 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/index.js +584 -571
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4350 -4224
- package/dist/index.mjs.map +1 -1
- package/dist/primitives/components/ui/switch/_switch.d.ts +146 -0
- package/dist/primitives/components/ui/switch/switch.d.ts +6 -9
- package/dist/primitives/components/ui/switch/switch.defs.d.ts +13 -0
- package/dist/primitives/components/ui/switch/switch.stories.d.ts +12 -4
- package/dist/styles.css +1102 -295
- package/dist/tokens/tailwind/border-radius.d.ts +0 -2
- package/dist/tokens/tailwind/border-width.d.ts +0 -1
- package/dist/tokens/tailwind/color.d.ts +0 -7
- package/dist/tokens/tailwind/index.d.ts +0 -15
- package/dist/tokens/tailwind/opacity.d.ts +0 -1
- package/dist/tokens/tailwind/ring-width.d.ts +0 -1
- package/dist/tokens/tailwind/spacing.d.ts +0 -3
- package/package.json +1 -1
- package/dist/primitives/components/ui/switch/switch.style.d.ts +0 -4
- package/dist/primitives/components/ui/switch/switch.type.d.ts +0 -4
package/dist/styles.css
CHANGED
|
@@ -428,27 +428,6 @@
|
|
|
428
428
|
--pont-ref-radius-xl-as-px: calc(var(--pont-ref-radius-as-px) + 4px);
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
/*
|
|
432
|
-
* ===========================================================================
|
|
433
|
-
* SHADOW REFERENCE TOKENS
|
|
434
|
-
* pont-ref-shadow-*
|
|
435
|
-
* ===========================================================================
|
|
436
|
-
*/
|
|
437
|
-
|
|
438
|
-
:root {
|
|
439
|
-
--pont-ref-shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
440
|
-
--pont-ref-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
441
|
-
--pont-ref-shadow-sm:
|
|
442
|
-
0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
443
|
-
--pont-ref-shadow-md:
|
|
444
|
-
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
445
|
-
--pont-ref-shadow-lg:
|
|
446
|
-
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
447
|
-
--pont-ref-shadow-xl:
|
|
448
|
-
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
449
|
-
--pont-ref-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
450
|
-
}
|
|
451
|
-
|
|
452
431
|
/*
|
|
453
432
|
* ===========================================================================
|
|
454
433
|
* SPACE REFERENCE TOKENS
|
|
@@ -583,6 +562,18 @@
|
|
|
583
562
|
/* * BOX SHADOW * */
|
|
584
563
|
--pont-ref-effect-shadow-none: 0 0 #0000;
|
|
585
564
|
|
|
565
|
+
--pont-ref-effect-shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
566
|
+
--pont-ref-effect-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
567
|
+
--pont-ref-effect-shadow-sm:
|
|
568
|
+
0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
569
|
+
--pont-ref-effect-shadow-md:
|
|
570
|
+
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
571
|
+
--pont-ref-effect-shadow-lg:
|
|
572
|
+
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
573
|
+
--pont-ref-effect-shadow-xl:
|
|
574
|
+
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
575
|
+
--pont-ref-effect-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
576
|
+
|
|
586
577
|
/* * MIX BLEND MODE * */
|
|
587
578
|
--pont-ref-effect-mix-blend-normal: normal;
|
|
588
579
|
--pont-ref-effect-mix-blend-multiply: multiply;
|
|
@@ -1860,18 +1851,18 @@
|
|
|
1860
1851
|
|
|
1861
1852
|
:root {
|
|
1862
1853
|
/* * ACTION * */
|
|
1863
|
-
--pont-sem-shadow-action-active: var(--pont-ref-shadow-sm);
|
|
1854
|
+
--pont-sem-shadow-action-active: var(--pont-ref-effect-shadow-sm);
|
|
1864
1855
|
|
|
1865
1856
|
/* * FORM * */
|
|
1866
|
-
--pont-sem-shadow-form: var(--pont-ref-shadow-md);
|
|
1857
|
+
--pont-sem-shadow-form: var(--pont-ref-effect-shadow-md);
|
|
1867
1858
|
|
|
1868
1859
|
/* * OVERLAY * */
|
|
1869
|
-
--pont-sem-shadow-overlay: var(--pont-ref-shadow-md);
|
|
1870
|
-
--pont-sem-shadow-overlay-lg: var(--pont-ref-shadow-lg);
|
|
1860
|
+
--pont-sem-shadow-overlay: var(--pont-ref-effect-shadow-md);
|
|
1861
|
+
--pont-sem-shadow-overlay-lg: var(--pont-ref-effect-shadow-lg);
|
|
1871
1862
|
|
|
1872
1863
|
/* * NAVIGATION * */
|
|
1873
|
-
--pont-sem-shadow-navigation: var(--pont-ref-shadow-md);
|
|
1874
|
-
--pont-sem-shadow-navigation-lg: var(--pont-ref-shadow-lg);
|
|
1864
|
+
--pont-sem-shadow-navigation: var(--pont-ref-effect-shadow-md);
|
|
1865
|
+
--pont-sem-shadow-navigation-lg: var(--pont-ref-effect-shadow-lg);
|
|
1875
1866
|
}
|
|
1876
1867
|
|
|
1877
1868
|
/*
|
|
@@ -6048,6 +6039,11 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
|
|
|
6048
6039
|
* ===========================================================================
|
|
6049
6040
|
*/
|
|
6050
6041
|
|
|
6042
|
+
:root {
|
|
6043
|
+
--pont-sem-card-spacing: calc(var(--pont-ref-space) * 4);
|
|
6044
|
+
--pont-sem-card-spacing-sm: calc(var(--pont-ref-space) * 3);
|
|
6045
|
+
}
|
|
6046
|
+
|
|
6051
6047
|
/*
|
|
6052
6048
|
* --------------------------------------------------
|
|
6053
6049
|
* CARD
|
|
@@ -6055,29 +6051,128 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
|
|
|
6055
6051
|
*/
|
|
6056
6052
|
|
|
6057
6053
|
:root {
|
|
6058
|
-
|
|
6054
|
+
/* TYPOGRAPHY */
|
|
6055
|
+
--pont-card-typography-font: var(--pont-sem-font-family-default);
|
|
6056
|
+
--pont-card-typography-color: hsl(var(--pont-sem-color-text));
|
|
6057
|
+
|
|
6058
|
+
/* BACKGROUND */
|
|
6059
|
+
--pont-card-bg-color: hsl(var(--pont-sem-color-bg-surface-secondary));
|
|
6060
|
+
|
|
6061
|
+
/* BORDER */
|
|
6062
|
+
--pont-card-border-radius-tl: var(--pont-ref-radius-xl);
|
|
6063
|
+
--pont-card-border-radius-tr: var(--pont-ref-radius-xl);
|
|
6064
|
+
--pont-card-border-radius-br: var(--pont-ref-radius-xl);
|
|
6065
|
+
--pont-card-border-radius-bl: var(--pont-ref-radius-xl);
|
|
6066
|
+
|
|
6067
|
+
--pont-card-border-style: var(--pont-ref-border-style-solid);
|
|
6068
|
+
--pont-card-border-color: transparent;
|
|
6069
|
+
--pont-card-border-width-t: 0;
|
|
6070
|
+
--pont-card-border-width-r: 0;
|
|
6071
|
+
--pont-card-border-width-b: 0;
|
|
6072
|
+
--pont-card-border-width-l: 0;
|
|
6073
|
+
|
|
6074
|
+
--pont-card-outline-w: 0px;
|
|
6075
|
+
--pont-card-outline-color: transparent;
|
|
6076
|
+
--pont-card-outline-style: var(--pont-ref-border-outline-style-none);
|
|
6077
|
+
--pont-card-outline-offset: 0px;
|
|
6059
6078
|
|
|
6060
|
-
|
|
6061
|
-
--pont-card-
|
|
6062
|
-
--pont-card-
|
|
6079
|
+
/* EFFECT */
|
|
6080
|
+
--pont-card-effect-shadow: var(--pont-ref-effect-shadow-none);
|
|
6081
|
+
--pont-card-effect-inset-shadow: inset var(--pont-ref-effect-shadow-none);
|
|
6082
|
+
--pont-card-effect-inset-ring: inset var(--pont-ref-effect-shadow-none);
|
|
6083
|
+
|
|
6084
|
+
--pont-card-effect-ring-offset-w: 0px;
|
|
6085
|
+
--pont-card-effect-ring-offset-color: hsl(var(--pont-sem-color-bg));
|
|
6086
|
+
--pont-card-effect-ring-offset: 0 0 0 var(--pont-card-effect-ring-offset-w)
|
|
6087
|
+
var(--pont-card-effect-ring-offset-color);
|
|
6088
|
+
|
|
6089
|
+
--pont-card-effect-ring-w: var(--pont-sem-width-ring);
|
|
6090
|
+
--pont-card-effect-ring-color: hsl(var(--pont-sem-color-ring-secondary));
|
|
6091
|
+
--pont-card-effect-ring: 0 0 0
|
|
6092
|
+
calc(var(--pont-card-effect-ring-w) + var(--pont-card-effect-ring-offset-w))
|
|
6093
|
+
var(--pont-card-effect-ring-color);
|
|
6094
|
+
}
|
|
6063
6095
|
|
|
6064
|
-
|
|
6065
|
-
--pont-card-space-py: var(--pont-sem-space-layout-p);
|
|
6066
|
-
--pont-card-space-py-sm: var(--pont-sem-space-layout-p-sm);
|
|
6067
|
-
/* Used for card header, card content, and card footer */
|
|
6068
|
-
--pont-card-space-px: var(--pont-sem-space-layout-p);
|
|
6069
|
-
--pont-card-space-px-sm: var(--pont-sem-space-layout-p-sm);
|
|
6096
|
+
/* * -------- SIZES -------- * */
|
|
6070
6097
|
|
|
6071
|
-
|
|
6072
|
-
--pont-card-font-line-height: var(--pont-sem-font-content-body-line-height);
|
|
6073
|
-
--pont-card-color-text: hsl(var(--pont-sem-color-text));
|
|
6098
|
+
/* * DEFAULT * */
|
|
6074
6099
|
|
|
6075
|
-
|
|
6100
|
+
:root {
|
|
6101
|
+
/* LAYOUT */
|
|
6102
|
+
--pont-card-layout-gap-x: var(--pont-sem-card-spacing);
|
|
6103
|
+
--pont-card-layout-gap-y: var(--pont-sem-card-spacing);
|
|
6076
6104
|
|
|
6077
|
-
|
|
6105
|
+
/* SPACING */
|
|
6106
|
+
--pont-card-spacing-pt: var(--pont-sem-card-spacing);
|
|
6107
|
+
--pont-card-spacing-pr: 0;
|
|
6108
|
+
--pont-card-spacing-pb: var(--pont-sem-card-spacing);
|
|
6109
|
+
--pont-card-spacing-pl: 0;
|
|
6078
6110
|
|
|
6079
|
-
|
|
6080
|
-
--pont-card-
|
|
6111
|
+
/* SIZING */
|
|
6112
|
+
--pont-card-sizing-w: var(--pont-ref-sizing-w-auto);
|
|
6113
|
+
--pont-card-sizing-h: var(--pont-ref-sizing-h-auto);
|
|
6114
|
+
|
|
6115
|
+
--pont-card-sizing-min-w: var(--pont-ref-sizing-min-w-auto);
|
|
6116
|
+
--pont-card-sizing-max-w: var(--pont-ref-sizing-max-w-none);
|
|
6117
|
+
--pont-card-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
|
|
6118
|
+
--pont-card-sizing-max-h: var(--pont-ref-sizing-max-h-none);
|
|
6119
|
+
|
|
6120
|
+
/* TYPOGRAPHY */
|
|
6121
|
+
--pont-card-typography-size: var(--pont-ref-font-size-sm);
|
|
6122
|
+
--pont-card-typography-weight: var(--pont-ref-font-weight-normal);
|
|
6123
|
+
--pont-card-typography-tracking: var(--pont-ref-font-letter-spacing-normal);
|
|
6124
|
+
--pont-card-typography-leading: var(--pont-ref-font-line-height-of-sm);
|
|
6125
|
+
}
|
|
6126
|
+
|
|
6127
|
+
/* * SMALL * */
|
|
6128
|
+
|
|
6129
|
+
:root {
|
|
6130
|
+
/* LAYOUT */
|
|
6131
|
+
--pont-card-layout-gap-x-sm: var(--pont-sem-card-spacing-sm);
|
|
6132
|
+
--pont-card-layout-gap-y-sm: var(--pont-sem-card-spacing-sm);
|
|
6133
|
+
|
|
6134
|
+
/* SPACING */
|
|
6135
|
+
--pont-card-spacing-pt-sm: var(--pont-sem-card-spacing-sm);
|
|
6136
|
+
--pont-card-spacing-pr-sm: 0;
|
|
6137
|
+
--pont-card-spacing-pb-sm: var(--pont-sem-card-spacing-sm);
|
|
6138
|
+
--pont-card-spacing-pl-sm: 0;
|
|
6139
|
+
|
|
6140
|
+
/* SIZING */
|
|
6141
|
+
--pont-card-sizing-w-sm: var(--pont-ref-sizing-w-auto);
|
|
6142
|
+
--pont-card-sizing-h-sm: var(--pont-ref-sizing-h-auto);
|
|
6143
|
+
|
|
6144
|
+
--pont-card-sizing-min-w-sm: var(--pont-ref-sizing-min-w-auto);
|
|
6145
|
+
--pont-card-sizing-max-w-sm: var(--pont-ref-sizing-max-w-none);
|
|
6146
|
+
--pont-card-sizing-min-h-sm: var(--pont-ref-sizing-min-h-auto);
|
|
6147
|
+
--pont-card-sizing-max-h-sm: var(--pont-ref-sizing-max-h-none);
|
|
6148
|
+
|
|
6149
|
+
/* TYPOGRAPHY */
|
|
6150
|
+
--pont-card-typography-size-sm: var(--pont-ref-font-size-sm);
|
|
6151
|
+
--pont-card-typography-weight-sm: var(--pont-ref-font-weight-normal);
|
|
6152
|
+
--pont-card-typography-tracking-sm: var(
|
|
6153
|
+
--pont-ref-font-letter-spacing-normal
|
|
6154
|
+
);
|
|
6155
|
+
--pont-card-typography-leading-sm: var(--pont-ref-font-line-height-of-sm);
|
|
6156
|
+
}
|
|
6157
|
+
|
|
6158
|
+
/* * -------- CARD > IMG -------- * */
|
|
6159
|
+
|
|
6160
|
+
/* * FIRST CHILD * */
|
|
6161
|
+
|
|
6162
|
+
:root {
|
|
6163
|
+
--pont-card-img-first-border-radius-tl: var(--pont-card-border-radius-tl);
|
|
6164
|
+
--pont-card-img-first-border-radius-tr: var(--pont-card-border-radius-tr);
|
|
6165
|
+
--pont-card-img-first-border-radius-br: 0;
|
|
6166
|
+
--pont-card-img-first-border-radius-bl: 0;
|
|
6167
|
+
}
|
|
6168
|
+
|
|
6169
|
+
/* * LAST CHILD * */
|
|
6170
|
+
|
|
6171
|
+
:root {
|
|
6172
|
+
--pont-card-img-last-border-radius-tl: 0;
|
|
6173
|
+
--pont-card-img-last-border-radius-tr: 0;
|
|
6174
|
+
--pont-card-img-last-border-radius-br: var(--pont-card-border-radius-br);
|
|
6175
|
+
--pont-card-img-last-border-radius-bl: var(--pont-card-border-radius-bl);
|
|
6081
6176
|
}
|
|
6082
6177
|
|
|
6083
6178
|
/*
|
|
@@ -6087,10 +6182,69 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
|
|
|
6087
6182
|
*/
|
|
6088
6183
|
|
|
6089
6184
|
:root {
|
|
6090
|
-
|
|
6185
|
+
/* BACKGROUND */
|
|
6186
|
+
--pont-card-header-bg-color-has-border: transparent;
|
|
6187
|
+
|
|
6188
|
+
/* BORDER */
|
|
6189
|
+
--pont-card-header-border-radius-tl: var(--pont-card-border-radius-tl);
|
|
6190
|
+
--pont-card-header-border-radius-tr: var(--pont-card-border-radius-tr);
|
|
6191
|
+
--pont-card-header-border-radius-br: 0;
|
|
6192
|
+
--pont-card-header-border-radius-bl: 0;
|
|
6091
6193
|
|
|
6092
|
-
--pont-card-header-
|
|
6093
|
-
|
|
6194
|
+
--pont-card-header-border-style-has-border: var(
|
|
6195
|
+
--pont-ref-border-style-solid
|
|
6196
|
+
);
|
|
6197
|
+
--pont-card-header-border-color-has-border: hsl(var(--pont-sem-color-border));
|
|
6198
|
+
--pont-card-header-border-width-t-has-border: 0;
|
|
6199
|
+
--pont-card-header-border-width-r-has-border: 0;
|
|
6200
|
+
--pont-card-header-border-width-b-has-border: var(--pont-sem-width-border);
|
|
6201
|
+
--pont-card-header-border-width-l-has-border: 0;
|
|
6202
|
+
}
|
|
6203
|
+
|
|
6204
|
+
/* * -------- SIZES -------- * */
|
|
6205
|
+
|
|
6206
|
+
/* * DEFAULT * */
|
|
6207
|
+
|
|
6208
|
+
:root {
|
|
6209
|
+
/* LAYOUT */
|
|
6210
|
+
--pont-card-header-layout-gap-x: calc(var(--pont-ref-space) * 1);
|
|
6211
|
+
--pont-card-header-layout-gap-y: calc(var(--pont-ref-space) * 1);
|
|
6212
|
+
|
|
6213
|
+
/* SPACING */
|
|
6214
|
+
--pont-card-header-spacing-pt: var(--pont-sem-card-spacing);
|
|
6215
|
+
--pont-card-header-spacing-pr: var(--pont-sem-card-spacing);
|
|
6216
|
+
--pont-card-header-spacing-pb: 0;
|
|
6217
|
+
--pont-card-header-spacing-pl: var(--pont-sem-card-spacing);
|
|
6218
|
+
|
|
6219
|
+
--pont-card-header-spacing-pt-has-border: var(--pont-card-header-spacing-pt);
|
|
6220
|
+
--pont-card-header-spacing-pr-has-border: var(--pont-card-header-spacing-pr);
|
|
6221
|
+
--pont-card-header-spacing-pb-has-border: var(--pont-sem-card-spacing);
|
|
6222
|
+
--pont-card-header-spacing-pl-has-border: var(--pont-card-header-spacing-pl);
|
|
6223
|
+
}
|
|
6224
|
+
|
|
6225
|
+
/* * SMALL * */
|
|
6226
|
+
|
|
6227
|
+
:root {
|
|
6228
|
+
/* LAYOUT */
|
|
6229
|
+
--pont-card-header-layout-gap-x-sm: calc(var(--pont-ref-space) * 1);
|
|
6230
|
+
--pont-card-header-layout-gap-y-sm: calc(var(--pont-ref-space) * 1);
|
|
6231
|
+
|
|
6232
|
+
/* SPACING */
|
|
6233
|
+
--pont-card-header-spacing-pt-sm: var(--pont-sem-card-spacing-sm);
|
|
6234
|
+
--pont-card-header-spacing-pr-sm: var(--pont-sem-card-spacing-sm);
|
|
6235
|
+
--pont-card-header-spacing-pb-sm: 0;
|
|
6236
|
+
--pont-card-header-spacing-pl-sm: var(--pont-sem-card-spacing-sm);
|
|
6237
|
+
|
|
6238
|
+
--pont-card-header-spacing-pt-sm-has-border: var(
|
|
6239
|
+
--pont-card-header-spacing-pt-sm
|
|
6240
|
+
);
|
|
6241
|
+
--pont-card-header-spacing-pr-sm-has-border: var(
|
|
6242
|
+
--pont-card-header-spacing-pr-sm
|
|
6243
|
+
);
|
|
6244
|
+
--pont-card-header-spacing-pb-sm-has-border: var(--pont-sem-card-spacing-sm);
|
|
6245
|
+
--pont-card-header-spacing-pl-sm-has-border: var(
|
|
6246
|
+
--pont-card-header-spacing-pl-sm
|
|
6247
|
+
);
|
|
6094
6248
|
}
|
|
6095
6249
|
|
|
6096
6250
|
/*
|
|
@@ -6100,15 +6254,35 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
|
|
|
6100
6254
|
*/
|
|
6101
6255
|
|
|
6102
6256
|
:root {
|
|
6103
|
-
|
|
6104
|
-
--pont-card-title-font
|
|
6105
|
-
--pont-card-title-
|
|
6106
|
-
|
|
6257
|
+
/* TYPOGRAPHY */
|
|
6258
|
+
--pont-card-title-typography-font: var(--pont-sem-font-family-heading);
|
|
6259
|
+
--pont-card-title-typography-color: var(--pont-card-typography-color);
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6262
|
+
/* * -------- SIZES -------- * */
|
|
6263
|
+
|
|
6264
|
+
/* * DEFAULT * */
|
|
6265
|
+
|
|
6266
|
+
:root {
|
|
6267
|
+
/* TYPOGRAPHY */
|
|
6268
|
+
--pont-card-title-typography-size: var(--pont-ref-font-size-base);
|
|
6269
|
+
--pont-card-title-typography-weight: var(--pont-ref-font-weight-medium);
|
|
6270
|
+
--pont-card-title-typography-tracking: var(--pont-card-typography-tracking);
|
|
6271
|
+
--pont-card-title-typography-leading: var(--pont-ref-font-line-height-short);
|
|
6272
|
+
}
|
|
6273
|
+
|
|
6274
|
+
/* * SMALL * */
|
|
6275
|
+
|
|
6276
|
+
:root {
|
|
6277
|
+
/* TYPOGRAPHY */
|
|
6278
|
+
--pont-card-title-typography-size-sm: var(--pont-ref-font-size-sm);
|
|
6279
|
+
--pont-card-title-typography-weight-sm: var(--pont-ref-font-weight-medium);
|
|
6280
|
+
--pont-card-title-typography-tracking-sm: var(
|
|
6281
|
+
--pont-card-typography-tracking-sm
|
|
6107
6282
|
);
|
|
6108
|
-
--pont-card-title-
|
|
6109
|
-
--pont-
|
|
6283
|
+
--pont-card-title-typography-leading-sm: var(
|
|
6284
|
+
--pont-ref-font-line-height-short
|
|
6110
6285
|
);
|
|
6111
|
-
--pont-card-title-font-weight: var(--pont-sem-font-content-heading-weight-sm);
|
|
6112
6286
|
}
|
|
6113
6287
|
|
|
6114
6288
|
/*
|
|
@@ -6118,11 +6292,97 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
|
|
|
6118
6292
|
*/
|
|
6119
6293
|
|
|
6120
6294
|
:root {
|
|
6121
|
-
|
|
6122
|
-
--pont-card-description-font
|
|
6123
|
-
|
|
6295
|
+
/* TYPOGRAPHY */
|
|
6296
|
+
--pont-card-description-typography-font: var(--pont-card-typography-font);
|
|
6297
|
+
--pont-card-description-typography-color: hsl(
|
|
6298
|
+
var(--pont-sem-color-text-secondary)
|
|
6299
|
+
);
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
/* * -------- SIZES -------- * */
|
|
6303
|
+
|
|
6304
|
+
/* * DEFAULT * */
|
|
6305
|
+
|
|
6306
|
+
:root {
|
|
6307
|
+
/* TYPOGRAPHY */
|
|
6308
|
+
--pont-card-description-typography-size: var(--pont-card-typography-size);
|
|
6309
|
+
--pont-card-description-typography-weight: var(--pont-card-typography-weight);
|
|
6310
|
+
--pont-card-description-typography-tracking: var(
|
|
6311
|
+
--pont-card-typography-tracking
|
|
6312
|
+
);
|
|
6313
|
+
--pont-card-description-typography-leading: var(
|
|
6314
|
+
--pont-card-typography-leading
|
|
6315
|
+
);
|
|
6316
|
+
}
|
|
6317
|
+
|
|
6318
|
+
/* * SMALL * */
|
|
6319
|
+
|
|
6320
|
+
:root {
|
|
6321
|
+
/* TYPOGRAPHY */
|
|
6322
|
+
--pont-card-description-typography-size-sm: var(
|
|
6323
|
+
--pont-card-typography-size-sm
|
|
6324
|
+
);
|
|
6325
|
+
--pont-card-description-typography-weight-sm: var(
|
|
6326
|
+
--pont-card-typography-weight-sm
|
|
6327
|
+
);
|
|
6328
|
+
--pont-card-description-typography-tracking-sm: var(
|
|
6329
|
+
--pont-card-typography-tracking-sm
|
|
6330
|
+
);
|
|
6331
|
+
--pont-card-description-typography-leading-sm: var(
|
|
6332
|
+
--pont-card-typography-leading-sm
|
|
6333
|
+
);
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
/*
|
|
6337
|
+
* --------------------------------------------------
|
|
6338
|
+
* CARD CONTENT
|
|
6339
|
+
* --------------------------------------------------
|
|
6340
|
+
*/
|
|
6341
|
+
|
|
6342
|
+
:root {
|
|
6343
|
+
/* TYPOGRAPHY */
|
|
6344
|
+
--pont-card-content-typography-font: var(--pont-card-typography-font);
|
|
6345
|
+
--pont-card-content-typography-color: var(--pont-card-typography-color);
|
|
6346
|
+
}
|
|
6347
|
+
|
|
6348
|
+
/* * -------- SIZES -------- * */
|
|
6349
|
+
|
|
6350
|
+
/* * DEFAULT * */
|
|
6351
|
+
|
|
6352
|
+
:root {
|
|
6353
|
+
/* SPACING */
|
|
6354
|
+
--pont-card-content-spacing-pt: 0;
|
|
6355
|
+
--pont-card-content-spacing-pr: var(--pont-sem-card-spacing);
|
|
6356
|
+
--pont-card-content-spacing-pb: 0;
|
|
6357
|
+
--pont-card-content-spacing-pl: var(--pont-sem-card-spacing);
|
|
6358
|
+
|
|
6359
|
+
/* TYPOGRAPHY */
|
|
6360
|
+
--pont-card-content-typography-size: var(--pont-card-typography-size);
|
|
6361
|
+
--pont-card-content-typography-weight: var(--pont-card-typography-weight);
|
|
6362
|
+
--pont-card-content-typography-tracking: var(--pont-card-typography-tracking);
|
|
6363
|
+
--pont-card-content-typography-leading: var(--pont-card-typography-leading);
|
|
6364
|
+
}
|
|
6365
|
+
|
|
6366
|
+
/* * SMALL * */
|
|
6367
|
+
|
|
6368
|
+
:root {
|
|
6369
|
+
/* SPACING */
|
|
6370
|
+
--pont-card-content-spacing-pt-sm: 0;
|
|
6371
|
+
--pont-card-content-spacing-pr-sm: var(--pont-sem-card-spacing-sm);
|
|
6372
|
+
--pont-card-content-spacing-pb-sm: 0;
|
|
6373
|
+
--pont-card-content-spacing-pl-sm: var(--pont-sem-card-spacing-sm);
|
|
6374
|
+
|
|
6375
|
+
/* TYPOGRAPHY */
|
|
6376
|
+
--pont-card-content-typography-size-sm: var(--pont-card-typography-size-sm);
|
|
6377
|
+
--pont-card-content-typography-weight-sm: var(
|
|
6378
|
+
--pont-card-typography-weight-sm
|
|
6379
|
+
);
|
|
6380
|
+
--pont-card-content-typography-tracking-sm: var(
|
|
6381
|
+
--pont-card-typography-tracking-sm
|
|
6382
|
+
);
|
|
6383
|
+
--pont-card-content-typography-leading-sm: var(
|
|
6384
|
+
--pont-card-typography-leading-sm
|
|
6124
6385
|
);
|
|
6125
|
-
--pont-card-description-color-text: hsl(var(--pont-sem-color-text-secondary));
|
|
6126
6386
|
}
|
|
6127
6387
|
|
|
6128
6388
|
/*
|
|
@@ -6132,9 +6392,63 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
|
|
|
6132
6392
|
*/
|
|
6133
6393
|
|
|
6134
6394
|
:root {
|
|
6135
|
-
|
|
6136
|
-
--pont-card-footer-
|
|
6137
|
-
|
|
6395
|
+
/* BACKGROUND */
|
|
6396
|
+
--pont-card-footer-bg-color-has-border: hsl(
|
|
6397
|
+
var(--pont-sem-color-bg-surface-quaternary)
|
|
6398
|
+
);
|
|
6399
|
+
|
|
6400
|
+
/* BORDER */
|
|
6401
|
+
--pont-card-footer-border-radius-tl: 0;
|
|
6402
|
+
--pont-card-footer-border-radius-tr: 0;
|
|
6403
|
+
--pont-card-footer-border-radius-br: var(--pont-card-border-radius-br);
|
|
6404
|
+
--pont-card-footer-border-radius-bl: var(--pont-card-border-radius-bl);
|
|
6405
|
+
|
|
6406
|
+
--pont-card-footer-border-style-has-border: var(
|
|
6407
|
+
--pont-ref-border-style-solid
|
|
6408
|
+
);
|
|
6409
|
+
--pont-card-footer-border-color-has-border: hsl(var(--pont-sem-color-border));
|
|
6410
|
+
--pont-card-footer-border-width-t-has-border: var(--pont-sem-width-border);
|
|
6411
|
+
--pont-card-footer-border-width-r-has-border: 0;
|
|
6412
|
+
--pont-card-footer-border-width-b-has-border: 0;
|
|
6413
|
+
--pont-card-footer-border-width-l-has-border: 0;
|
|
6414
|
+
}
|
|
6415
|
+
|
|
6416
|
+
/* * -------- SIZES -------- * */
|
|
6417
|
+
|
|
6418
|
+
/* * DEFAULT * */
|
|
6419
|
+
|
|
6420
|
+
:root {
|
|
6421
|
+
/* SPACING */
|
|
6422
|
+
--pont-card-footer-spacing-pt: 0;
|
|
6423
|
+
--pont-card-footer-spacing-pr: var(--pont-sem-card-spacing);
|
|
6424
|
+
--pont-card-footer-spacing-pb: var(--pont-sem-card-spacing);
|
|
6425
|
+
--pont-card-footer-spacing-pl: var(--pont-sem-card-spacing);
|
|
6426
|
+
|
|
6427
|
+
--pont-card-footer-spacing-pt-has-border: var(--pont-sem-card-spacing);
|
|
6428
|
+
--pont-card-footer-spacing-pr-has-border: var(--pont-card-footer-spacing-pr);
|
|
6429
|
+
--pont-card-footer-spacing-pb-has-border: var(--pont-card-footer-spacing-pb);
|
|
6430
|
+
--pont-card-footer-spacing-pl-has-border: var(--pont-card-footer-spacing-pl);
|
|
6431
|
+
}
|
|
6432
|
+
|
|
6433
|
+
/* * SMALL * */
|
|
6434
|
+
|
|
6435
|
+
:root {
|
|
6436
|
+
/* SPACING */
|
|
6437
|
+
--pont-card-footer-spacing-pt-sm: 0;
|
|
6438
|
+
--pont-card-footer-spacing-pr-sm: var(--pont-sem-card-spacing-sm);
|
|
6439
|
+
--pont-card-footer-spacing-pb-sm: var(--pont-sem-card-spacing-sm);
|
|
6440
|
+
--pont-card-footer-spacing-pl-sm: var(--pont-sem-card-spacing-sm);
|
|
6441
|
+
|
|
6442
|
+
--pont-card-footer-spacing-pt-sm-has-border: var(--pont-sem-card-spacing-sm);
|
|
6443
|
+
--pont-card-footer-spacing-pr-sm-has-border: var(
|
|
6444
|
+
--pont-card-footer-spacing-pr-sm
|
|
6445
|
+
);
|
|
6446
|
+
--pont-card-footer-spacing-pb-sm-has-border: var(
|
|
6447
|
+
--pont-card-footer-spacing-pb-sm
|
|
6448
|
+
);
|
|
6449
|
+
--pont-card-footer-spacing-pl-sm-has-border: var(
|
|
6450
|
+
--pont-card-footer-spacing-pl-sm
|
|
6451
|
+
);
|
|
6138
6452
|
--pont-carousel-space-w: var(--pont-ref-space-full);
|
|
6139
6453
|
--pont-carousel-space-h: var(--pont-ref-space-full);
|
|
6140
6454
|
--pont-carousel-space-mx: var(--pont-ref-space-auto);
|
|
@@ -8787,22 +9101,150 @@ peer-disabled:opacity-50
|
|
|
8787
9101
|
* SWITCH
|
|
8788
9102
|
* --------------------------------------------------
|
|
8789
9103
|
*/
|
|
9104
|
+
|
|
9105
|
+
:root {
|
|
9106
|
+
/* LAYOUT */
|
|
9107
|
+
--pont-switch-layout-items: var(--pont-ref-layout-items-center);
|
|
9108
|
+
|
|
9109
|
+
/* SIZING */
|
|
9110
|
+
/* TODO(switch): shadcn accepts a `size` prop - `default` | `sm`
|
|
9111
|
+
default: w-[32px] h-[18.4px]. sm: w-[24px] h-[14px] */
|
|
9112
|
+
--pont-switch-sizing-w: 32px;
|
|
9113
|
+
--pont-switch-sizing-h: 18.4px;
|
|
9114
|
+
|
|
9115
|
+
/* BACKGROUND */
|
|
9116
|
+
/* Note: shadcn applies this bg when `data-unchecked`, but here, we just use
|
|
9117
|
+
it as the default bg unless `data-checked`. */
|
|
9118
|
+
--pont-switch-bg-color: hsl(var(--pont-sem-color-bg-fill-unchecked));
|
|
9119
|
+
|
|
9120
|
+
/* BORDER */
|
|
9121
|
+
--pont-switch-border-radius-tl: var(--pont-ref-radius-full);
|
|
9122
|
+
--pont-switch-border-radius-tr: var(--pont-ref-radius-full);
|
|
9123
|
+
--pont-switch-border-radius-br: var(--pont-ref-radius-full);
|
|
9124
|
+
--pont-switch-border-radius-bl: var(--pont-ref-radius-full);
|
|
9125
|
+
|
|
9126
|
+
--pont-switch-border-style: var(--pont-ref-border-style-solid);
|
|
9127
|
+
--pont-switch-border-color: transparent;
|
|
9128
|
+
--pont-switch-border-width-t: var(--pont-sem-width-border);
|
|
9129
|
+
--pont-switch-border-width-r: var(--pont-sem-width-border);
|
|
9130
|
+
--pont-switch-border-width-b: var(--pont-sem-width-border);
|
|
9131
|
+
--pont-switch-border-width-l: var(--pont-sem-width-border);
|
|
9132
|
+
|
|
9133
|
+
--pont-switch-outline-w: 0px;
|
|
9134
|
+
--pont-switch-outline-color: transparent;
|
|
9135
|
+
--pont-switch-outline-style: var(--pont-ref-border-outline-style-none);
|
|
9136
|
+
--pont-switch-outline-offset: 0px;
|
|
9137
|
+
|
|
9138
|
+
/* MOTION */
|
|
9139
|
+
--pont-switch-motion-property: var(--pont-ref-motion-property-all);
|
|
9140
|
+
--pont-switch-motion-duration: var(--pont-sem-motion-duration-default);
|
|
9141
|
+
--pont-switch-motion-fn: var(--pont-sem-motion-fn-default);
|
|
9142
|
+
}
|
|
9143
|
+
|
|
9144
|
+
/* * -------- SWITCH ::after -------- * */
|
|
9145
|
+
|
|
9146
|
+
:root {
|
|
9147
|
+
/* LAYOUT */
|
|
9148
|
+
--pont-switch-after-layout-inset-t: calc(var(--pont-ref-space) * -2);
|
|
9149
|
+
--pont-switch-after-layout-inset-r: calc(var(--pont-ref-space) * -3);
|
|
9150
|
+
--pont-switch-after-layout-inset-b: calc(var(--pont-ref-space) * -2);
|
|
9151
|
+
--pont-switch-after-layout-inset-l: calc(var(--pont-ref-space) * -3);
|
|
9152
|
+
}
|
|
9153
|
+
|
|
9154
|
+
/* * -------- STATES -------- * */
|
|
9155
|
+
|
|
9156
|
+
/* * FOCUS * */
|
|
9157
|
+
|
|
9158
|
+
:root {
|
|
9159
|
+
/* BORDER */
|
|
9160
|
+
--pont-switch-border-style-focus: var(--pont-ref-border-style-solid);
|
|
9161
|
+
--pont-switch-border-color-focus: hsl(var(--pont-sem-color-border-focus));
|
|
9162
|
+
--pont-switch-border-width-t-focus: var(--pont-sem-width-border);
|
|
9163
|
+
--pont-switch-border-width-r-focus: var(--pont-sem-width-border);
|
|
9164
|
+
--pont-switch-border-width-b-focus: var(--pont-sem-width-border);
|
|
9165
|
+
--pont-switch-border-width-l-focus: var(--pont-sem-width-border);
|
|
9166
|
+
|
|
9167
|
+
--pont-switch-outline-w-focus: 0px;
|
|
9168
|
+
--pont-switch-outline-color-focus: transparent;
|
|
9169
|
+
--pont-switch-outline-style-focus: var(--pont-ref-border-outline-style-none);
|
|
9170
|
+
--pont-switch-outline-offset-focus: 0px;
|
|
9171
|
+
|
|
9172
|
+
/* EFFECT */
|
|
9173
|
+
--pont-switch-effect-shadow-focus: var(--pont-ref-effect-shadow-none);
|
|
9174
|
+
--pont-switch-effect-inset-shadow-focus: inset
|
|
9175
|
+
var(--pont-ref-effect-shadow-none);
|
|
9176
|
+
--pont-switch-effect-inset-ring-focus: inset
|
|
9177
|
+
var(--pont-ref-effect-shadow-none);
|
|
9178
|
+
--pont-switch-effect-ring-offset-w-focus: 0px;
|
|
9179
|
+
--pont-switch-effect-ring-offset-color-focus: hsl(var(--pont-sem-color-bg));
|
|
9180
|
+
--pont-switch-effect-ring-offset-focus: 0 0 0
|
|
9181
|
+
var(--pont-switch-effect-ring-offset-w-focus)
|
|
9182
|
+
var(--pont-switch-effect-ring-offset-color-focus);
|
|
9183
|
+
--pont-switch-effect-ring-w-focus: var(--pont-sem-width-ring-focus);
|
|
9184
|
+
--pont-switch-effect-ring-color-focus: hsl(var(--pont-sem-color-ring-focus));
|
|
9185
|
+
--pont-switch-effect-ring-focus: 0 0 0
|
|
9186
|
+
calc(
|
|
9187
|
+
var(--pont-switch-effect-ring-w-focus) +
|
|
9188
|
+
var(--pont-switch-effect-ring-offset-w-focus)
|
|
9189
|
+
)
|
|
9190
|
+
var(--pont-switch-effect-ring-color-focus);
|
|
9191
|
+
}
|
|
9192
|
+
|
|
9193
|
+
/* * DISABLED * */
|
|
9194
|
+
|
|
9195
|
+
:root {
|
|
9196
|
+
/* EFFECT */
|
|
9197
|
+
--pont-switch-effect-opacity-disabled: var(--pont-sem-opacity-disabled);
|
|
9198
|
+
}
|
|
9199
|
+
|
|
9200
|
+
/* * CHECKED * */
|
|
9201
|
+
|
|
8790
9202
|
:root {
|
|
8791
|
-
|
|
8792
|
-
--pont-switch-
|
|
9203
|
+
/* BACKGROUND */
|
|
9204
|
+
--pont-switch-bg-color-checked: hsl(var(--pont-sem-color-bg-fill-brand));
|
|
9205
|
+
}
|
|
8793
9206
|
|
|
8794
|
-
|
|
8795
|
-
--pont-switch-width-border: var(--pont-sem-width-border);
|
|
8796
|
-
--pont-switch-color-border: var(--pont-sem-color-border-transparent);
|
|
9207
|
+
/* * INVALID * */
|
|
8797
9208
|
|
|
8798
|
-
|
|
8799
|
-
|
|
9209
|
+
:root {
|
|
9210
|
+
/* BORDER */
|
|
9211
|
+
--pont-switch-border-style-invalid: var(--pont-ref-border-style-solid);
|
|
9212
|
+
--pont-switch-border-color-invalid: hsl(
|
|
9213
|
+
var(--pont-sem-color-border-invalid-secondary)
|
|
9214
|
+
);
|
|
9215
|
+
--pont-switch-border-width-t-invalid: var(--pont-sem-width-border);
|
|
9216
|
+
--pont-switch-border-width-r-invalid: var(--pont-sem-width-border);
|
|
9217
|
+
--pont-switch-border-width-b-invalid: var(--pont-sem-width-border);
|
|
9218
|
+
--pont-switch-border-width-l-invalid: var(--pont-sem-width-border);
|
|
8800
9219
|
|
|
8801
|
-
--pont-switch-
|
|
8802
|
-
--pont-switch-
|
|
8803
|
-
--pont-switch-
|
|
9220
|
+
--pont-switch-outline-w-invalid: 0px;
|
|
9221
|
+
--pont-switch-outline-color-invalid: transparent;
|
|
9222
|
+
--pont-switch-outline-style-invalid: var(
|
|
9223
|
+
--pont-ref-border-outline-style-none
|
|
9224
|
+
);
|
|
9225
|
+
--pont-switch-outline-offset-invalid: 0px;
|
|
8804
9226
|
|
|
8805
|
-
|
|
9227
|
+
/* EFFECT */
|
|
9228
|
+
--pont-switch-effect-shadow-invalid: var(--pont-ref-effect-shadow-none);
|
|
9229
|
+
--pont-switch-effect-inset-shadow-invalid: inset
|
|
9230
|
+
var(--pont-ref-effect-shadow-none);
|
|
9231
|
+
--pont-switch-effect-inset-ring-invalid: inset
|
|
9232
|
+
var(--pont-ref-effect-shadow-none);
|
|
9233
|
+
--pont-switch-effect-ring-offset-w-invalid: 0px;
|
|
9234
|
+
--pont-switch-effect-ring-offset-color-invalid: hsl(var(--pont-sem-color-bg));
|
|
9235
|
+
--pont-switch-effect-ring-offset-invalid: 0 0 0
|
|
9236
|
+
var(--pont-switch-effect-ring-offset-w-invalid)
|
|
9237
|
+
var(--pont-switch-effect-ring-offset-color-invalid);
|
|
9238
|
+
--pont-switch-effect-ring-w-invalid: var(--pont-sem-width-ring-invalid);
|
|
9239
|
+
--pont-switch-effect-ring-color-invalid: hsl(
|
|
9240
|
+
var(--pont-sem-color-ring-destructive)
|
|
9241
|
+
);
|
|
9242
|
+
--pont-switch-effect-ring-invalid: 0 0 0
|
|
9243
|
+
calc(
|
|
9244
|
+
var(--pont-switch-effect-ring-w-invalid) +
|
|
9245
|
+
var(--pont-switch-effect-ring-offset-w-invalid)
|
|
9246
|
+
)
|
|
9247
|
+
var(--pont-switch-effect-ring-color-invalid);
|
|
8806
9248
|
}
|
|
8807
9249
|
|
|
8808
9250
|
/*
|
|
@@ -8810,15 +9252,53 @@ peer-disabled:opacity-50
|
|
|
8810
9252
|
* SWITCH THUMB
|
|
8811
9253
|
* --------------------------------------------------
|
|
8812
9254
|
*/
|
|
9255
|
+
|
|
8813
9256
|
:root {
|
|
8814
|
-
|
|
9257
|
+
/* SIZING */
|
|
9258
|
+
/* TODO(switch): shadcn accepts a `size` prop - `default` | `sm`
|
|
9259
|
+
default: size-4, sm: size-3 */
|
|
9260
|
+
--pont-switch-thumb-sizing-w: calc(var(--pont-ref-space) * 4);
|
|
9261
|
+
--pont-switch-thumb-sizing-h: calc(var(--pont-ref-space) * 4);
|
|
9262
|
+
|
|
9263
|
+
/* BACKGROUND */
|
|
9264
|
+
--pont-switch-thumb-bg-color: hsl(
|
|
9265
|
+
var(--pont-sem-color-bg-fill-on-fill-unchecked)
|
|
9266
|
+
);
|
|
8815
9267
|
|
|
8816
|
-
|
|
8817
|
-
--pont-switch-thumb-
|
|
8818
|
-
|
|
9268
|
+
/* BORDER */
|
|
9269
|
+
--pont-switch-thumb-border-radius-tl: var(--pont-ref-radius-full);
|
|
9270
|
+
--pont-switch-thumb-border-radius-tr: var(--pont-ref-radius-full);
|
|
9271
|
+
--pont-switch-thumb-border-radius-br: var(--pont-ref-radius-full);
|
|
9272
|
+
--pont-switch-thumb-border-radius-bl: var(--pont-ref-radius-full);
|
|
9273
|
+
|
|
9274
|
+
/* MOTION */
|
|
9275
|
+
--pont-switch-thumb-motion-property: var(
|
|
9276
|
+
--pont-ref-motion-property-transform
|
|
9277
|
+
);
|
|
9278
|
+
--pont-switch-thumb-motion-duration: var(--pont-sem-motion-duration-default);
|
|
9279
|
+
--pont-switch-thumb-motion-fn: var(--pont-sem-motion-fn-default);
|
|
9280
|
+
|
|
9281
|
+
/* TRANSFORM */
|
|
9282
|
+
/* Note: shadcn applies this when `data-unchecked` */
|
|
9283
|
+
--pont-switch-thumb-transform-translate-x: 0px;
|
|
9284
|
+
--pont-switch-thumb-transform-translate-y: 0px;
|
|
9285
|
+
}
|
|
9286
|
+
|
|
9287
|
+
/* * -------- STATES -------- * */
|
|
9288
|
+
|
|
9289
|
+
/* * CHECKED * */
|
|
9290
|
+
|
|
9291
|
+
:root {
|
|
9292
|
+
/* BACKGROUND */
|
|
9293
|
+
--pont-switch-thumb-bg-color-checked: hsl(
|
|
9294
|
+
var(--pont-sem-color-bg-fill-brand-on-fill)
|
|
8819
9295
|
);
|
|
8820
9296
|
|
|
8821
|
-
|
|
9297
|
+
/* TRANSFORM */
|
|
9298
|
+
--pont-switch-thumb-transform-translate-x-checked: calc(100% - 2px);
|
|
9299
|
+
--pont-switch-thumb-transform-translate-y-checked: var(
|
|
9300
|
+
--pont-switch-thumb-transform-translate-y
|
|
9301
|
+
);
|
|
8822
9302
|
/* table preview */
|
|
8823
9303
|
--pont-table-preview-color-bg: var(--pont-sem-color-bg-surface-secondary);
|
|
8824
9304
|
--pont-table-preview-space-w: var(--pont-ref-space-full);
|
|
@@ -8871,6 +9351,7 @@ peer-disabled:opacity-50
|
|
|
8871
9351
|
--pont-table-footer-cell-space-py: var(--pont-ref-space-2);
|
|
8872
9352
|
--pont-table-footer-cell-space-px: var(--pont-ref-space-2);
|
|
8873
9353
|
}
|
|
9354
|
+
|
|
8874
9355
|
/*
|
|
8875
9356
|
* ===========================================================================
|
|
8876
9357
|
* TABS COMPONENT TOKENS
|
|
@@ -12439,61 +12920,154 @@ pont-button:has([data-pont-button][data-size="icon-lg"]) {
|
|
|
12439
12920
|
* --------------------------------------------------
|
|
12440
12921
|
*/
|
|
12441
12922
|
|
|
12442
|
-
pont-card {
|
|
12443
|
-
width: var(--pont-card-space-width);
|
|
12444
|
-
}
|
|
12445
|
-
|
|
12446
|
-
pont-card > [data-slot='card'] {
|
|
12447
|
-
width: 100%;
|
|
12923
|
+
[data-pont-card] {
|
|
12448
12924
|
display: flex;
|
|
12449
12925
|
overflow: hidden;
|
|
12450
12926
|
|
|
12451
12927
|
flex-direction: column;
|
|
12452
|
-
gap: var(--pont-card-space-gap);
|
|
12453
12928
|
|
|
12454
|
-
|
|
12455
|
-
|
|
12929
|
+
width: var(--pont-ref-sizing-w-full);
|
|
12930
|
+
height: var(--pont-ref-sizing-h-full);
|
|
12931
|
+
|
|
12932
|
+
font-family: var(--pont-card-typography-font);
|
|
12933
|
+
color: var(--pont-card-typography-color);
|
|
12934
|
+
|
|
12935
|
+
background-color: var(--pont-card-bg-color);
|
|
12456
12936
|
|
|
12457
|
-
|
|
12458
|
-
|
|
12459
|
-
|
|
12460
|
-
|
|
12937
|
+
border-top-left-radius: var(--pont-card-border-radius-tl);
|
|
12938
|
+
border-top-right-radius: var(--pont-card-border-radius-tr);
|
|
12939
|
+
border-bottom-right-radius: var(--pont-card-border-radius-br);
|
|
12940
|
+
border-bottom-left-radius: var(--pont-card-border-radius-bl);
|
|
12461
12941
|
|
|
12462
|
-
|
|
12942
|
+
border-style: var(--pont-card-border-style);
|
|
12943
|
+
border-color: var(--pont-card-border-color);
|
|
12944
|
+
border-top-width: var(--pont-card-border-width-t);
|
|
12945
|
+
border-right-width: var(--pont-card-border-width-r);
|
|
12946
|
+
border-bottom-width: var(--pont-card-border-width-b);
|
|
12947
|
+
border-left-width: var(--pont-card-border-width-l);
|
|
12463
12948
|
|
|
12464
|
-
|
|
12949
|
+
outline-width: var(--pont-card-outline-w);
|
|
12950
|
+
outline-color: var(--pont-card-outline-color);
|
|
12951
|
+
outline-style: var(--pont-card-outline-style);
|
|
12952
|
+
outline-offset: var(--pont-card-outline-offset);
|
|
12465
12953
|
|
|
12466
12954
|
box-shadow:
|
|
12467
|
-
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12955
|
+
var(--pont-card-effect-inset-shadow), var(--pont-card-effect-inset-ring),
|
|
12956
|
+
var(--pont-card-effect-ring-offset), var(--pont-card-effect-ring),
|
|
12957
|
+
var(--pont-card-effect-shadow);
|
|
12958
|
+
}
|
|
12959
|
+
|
|
12960
|
+
/* * -------- SIZES -------- * */
|
|
12961
|
+
|
|
12962
|
+
/* * DEFAULT * */
|
|
12963
|
+
|
|
12964
|
+
pont-card:has([data-pont-card][data-size="default"]) {
|
|
12965
|
+
width: var(--pont-card-sizing-w);
|
|
12966
|
+
height: var(--pont-card-sizing-h);
|
|
12967
|
+
|
|
12968
|
+
min-width: var(--pont-card-sizing-min-w);
|
|
12969
|
+
max-width: var(--pont-card-sizing-max-w);
|
|
12970
|
+
min-height: var(--pont-card-sizing-min-h);
|
|
12971
|
+
max-height: var(--pont-card-sizing-max-h);
|
|
12972
|
+
}
|
|
12973
|
+
|
|
12974
|
+
[data-pont-card][data-size="default"] {
|
|
12975
|
+
-moz-column-gap: var(--pont-card-layout-gap-x);
|
|
12976
|
+
column-gap: var(--pont-card-layout-gap-x);
|
|
12977
|
+
row-gap: var(--pont-card-layout-gap-y);
|
|
12978
|
+
|
|
12979
|
+
padding-top: var(--pont-card-spacing-pt);
|
|
12980
|
+
padding-right: var(--pont-card-spacing-pr);
|
|
12981
|
+
padding-bottom: var(--pont-card-spacing-pb);
|
|
12982
|
+
padding-left: var(--pont-card-spacing-pl);
|
|
12983
|
+
|
|
12984
|
+
font-size: var(--pont-card-typography-size);
|
|
12985
|
+
font-weight: var(--pont-card-typography-weight);
|
|
12986
|
+
letter-spacing: var(--pont-card-typography-tracking);
|
|
12987
|
+
line-height: var(--pont-card-typography-leading);
|
|
12988
|
+
}
|
|
12989
|
+
|
|
12990
|
+
[data-pont-card][data-size="default"]:has([data-pont-card-header]) {
|
|
12991
|
+
/* The `padding-top` spacing will belong to card header. */
|
|
12992
|
+
padding-top: 0;
|
|
12993
|
+
}
|
|
12994
|
+
|
|
12995
|
+
[data-pont-card][data-size="default"]:has([data-pont-card-footer]) {
|
|
12996
|
+
/* The `padding-bottom` spacing will belong to card footer. */
|
|
12997
|
+
padding-bottom: 0;
|
|
12998
|
+
}
|
|
12999
|
+
|
|
13000
|
+
[data-pont-card][data-size="default"]:has(> img:first-child) {
|
|
13001
|
+
/* The `padding-top` is cleared as the image sits at the very top. */
|
|
13002
|
+
padding-top: 0;
|
|
13003
|
+
}
|
|
13004
|
+
|
|
13005
|
+
/* * SMALL * */
|
|
13006
|
+
|
|
13007
|
+
pont-card:has([data-pont-card][data-size="sm"]) {
|
|
13008
|
+
width: var(--pont-card-sizing-w-sm);
|
|
13009
|
+
height: var(--pont-card-sizing-h-sm);
|
|
13010
|
+
|
|
13011
|
+
min-width: var(--pont-card-sizing-min-w-sm);
|
|
13012
|
+
max-width: var(--pont-card-sizing-max-w-sm);
|
|
13013
|
+
min-height: var(--pont-card-sizing-min-h-sm);
|
|
13014
|
+
max-height: var(--pont-card-sizing-max-h-sm);
|
|
12472
13015
|
}
|
|
12473
13016
|
|
|
12474
|
-
|
|
12475
|
-
gap: var(--pont-card-
|
|
13017
|
+
[data-pont-card][data-size="sm"] {
|
|
13018
|
+
-moz-column-gap: var(--pont-card-layout-gap-x-sm);
|
|
13019
|
+
column-gap: var(--pont-card-layout-gap-x-sm);
|
|
13020
|
+
row-gap: var(--pont-card-layout-gap-y-sm);
|
|
12476
13021
|
|
|
12477
|
-
padding-top: var(--pont-card-
|
|
12478
|
-
padding-
|
|
13022
|
+
padding-top: var(--pont-card-spacing-pt-sm);
|
|
13023
|
+
padding-right: var(--pont-card-spacing-pr-sm);
|
|
13024
|
+
padding-bottom: var(--pont-card-spacing-pb-sm);
|
|
13025
|
+
padding-left: var(--pont-card-spacing-pl-sm);
|
|
13026
|
+
|
|
13027
|
+
font-size: var(--pont-card-typography-size-sm);
|
|
13028
|
+
font-weight: var(--pont-card-typography-weight-sm);
|
|
13029
|
+
letter-spacing: var(--pont-card-typography-tracking-sm);
|
|
13030
|
+
line-height: var(--pont-card-typography-leading-sm);
|
|
13031
|
+
}
|
|
13032
|
+
|
|
13033
|
+
[data-pont-card][data-size="sm"]:has([data-pont-card-header]) {
|
|
13034
|
+
/* The `padding-top` spacing will belong to card header. */
|
|
13035
|
+
padding-top: 0;
|
|
12479
13036
|
}
|
|
12480
13037
|
|
|
12481
|
-
pont-card
|
|
13038
|
+
[data-pont-card][data-size="sm"]:has([data-pont-card-footer]) {
|
|
13039
|
+
/* The `padding-bottom` spacing will belong to card footer. */
|
|
12482
13040
|
padding-bottom: 0;
|
|
12483
13041
|
}
|
|
12484
13042
|
|
|
12485
|
-
pont-card
|
|
13043
|
+
[data-pont-card][data-size="sm"]:has(> img:first-child) {
|
|
13044
|
+
/* The `padding-top` is cleared as the image sits at the very top. */
|
|
12486
13045
|
padding-top: 0;
|
|
12487
13046
|
}
|
|
12488
13047
|
|
|
12489
|
-
pont-card
|
|
12490
|
-
|
|
12491
|
-
|
|
13048
|
+
[data-pont-card][data-size="sm"]:has(> img:last-child) {
|
|
13049
|
+
/* The `padding-bottom` is cleared as the image sits at the very bottom. */
|
|
13050
|
+
padding-bottom: 0;
|
|
13051
|
+
}
|
|
13052
|
+
|
|
13053
|
+
/* * -------- CARD > IMG -------- * */
|
|
13054
|
+
|
|
13055
|
+
/* * FIRST CHILD * */
|
|
13056
|
+
|
|
13057
|
+
[data-pont-card] > img:first-child {
|
|
13058
|
+
border-top-left-radius: var(--pont-card-img-first-border-radius-tl);
|
|
13059
|
+
border-top-right-radius: var(--pont-card-img-first-border-radius-tr);
|
|
13060
|
+
border-bottom-right-radius: var(--pont-card-img-first-border-radius-br);
|
|
13061
|
+
border-bottom-left-radius: var(--pont-card-img-first-border-radius-bl);
|
|
12492
13062
|
}
|
|
12493
13063
|
|
|
12494
|
-
|
|
12495
|
-
|
|
12496
|
-
|
|
13064
|
+
/* * LAST CHILD * */
|
|
13065
|
+
|
|
13066
|
+
[data-pont-card] > img:last-child {
|
|
13067
|
+
border-top-left-radius: var(--pont-card-img-last-border-radius-tl);
|
|
13068
|
+
border-top-right-radius: var(--pont-card-img-last-border-radius-tr);
|
|
13069
|
+
border-bottom-right-radius: var(--pont-card-img-last-border-radius-br);
|
|
13070
|
+
border-bottom-left-radius: var(--pont-card-img-last-border-radius-bl);
|
|
12497
13071
|
}
|
|
12498
13072
|
|
|
12499
13073
|
/*
|
|
@@ -12502,43 +13076,87 @@ pont-card [data-slot='card'] > img:last-child {
|
|
|
12502
13076
|
* --------------------------------------------------
|
|
12503
13077
|
*/
|
|
12504
13078
|
|
|
12505
|
-
|
|
13079
|
+
[data-pont-card-header] {
|
|
12506
13080
|
display: grid;
|
|
13081
|
+
|
|
12507
13082
|
grid-auto-rows: min-content;
|
|
12508
13083
|
align-items: start;
|
|
12509
|
-
gap: var(--pont-card-header-space-gap);
|
|
12510
13084
|
|
|
12511
|
-
|
|
12512
|
-
|
|
13085
|
+
border-top-left-radius: var(--pont-card-header-border-radius-tl);
|
|
13086
|
+
border-top-right-radius: var(--pont-card-header-border-radius-tr);
|
|
13087
|
+
border-bottom-right-radius: var(--pont-card-header-border-radius-br);
|
|
13088
|
+
border-bottom-left-radius: var(--pont-card-header-border-radius-bl);
|
|
13089
|
+
}
|
|
13090
|
+
|
|
13091
|
+
[data-pont-card-header]:has(pont-card-action) {
|
|
13092
|
+
grid-template-columns: 1fr auto;
|
|
13093
|
+
}
|
|
13094
|
+
|
|
13095
|
+
[data-pont-card-header]:has(pont-card-description) {
|
|
13096
|
+
grid-template-rows: auto auto;
|
|
12513
13097
|
}
|
|
12514
13098
|
|
|
12515
|
-
pont-card
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
13099
|
+
[data-pont-card-header][data-border] {
|
|
13100
|
+
background-color: var(--pont-card-header-bg-color-has-border);
|
|
13101
|
+
|
|
13102
|
+
border-style: var(--pont-card-header-border-style-has-border);
|
|
13103
|
+
border-color: var(--pont-card-header-border-color-has-border);
|
|
13104
|
+
border-top-width: var(--pont-card-header-border-width-t-has-border);
|
|
13105
|
+
border-right-width: var(--pont-card-header-border-width-r-has-border);
|
|
13106
|
+
border-bottom-width: var(--pont-card-header-border-width-b-has-border);
|
|
13107
|
+
border-left-width: var(--pont-card-header-border-width-l-has-border);
|
|
12521
13108
|
}
|
|
12522
13109
|
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
13110
|
+
/* * -------- SIZES -------- * */
|
|
13111
|
+
|
|
13112
|
+
/* * DEFAULT * */
|
|
13113
|
+
|
|
13114
|
+
[data-pont-card][data-size="default"] [data-pont-card-header] {
|
|
13115
|
+
-moz-column-gap: var(--pont-card-header-layout-gap-x);
|
|
13116
|
+
column-gap: var(--pont-card-header-layout-gap-x);
|
|
13117
|
+
row-gap: var(--pont-card-header-layout-gap-y);
|
|
13118
|
+
|
|
13119
|
+
padding-top: var(--pont-card-header-spacing-pt);
|
|
13120
|
+
padding-right: var(--pont-card-header-spacing-pr);
|
|
13121
|
+
padding-bottom: var(--pont-card-header-spacing-pb);
|
|
13122
|
+
padding-left: var(--pont-card-header-spacing-pl);
|
|
12527
13123
|
}
|
|
12528
13124
|
|
|
12529
|
-
pont-card
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
|
|
12533
|
-
padding-
|
|
13125
|
+
[data-pont-card][data-size="default"] [data-pont-card-header][data-border] {
|
|
13126
|
+
padding-top: var(--pont-card-header-spacing-pt-has-border);
|
|
13127
|
+
padding-right: var(--pont-card-header-spacing-pr-has-border);
|
|
13128
|
+
padding-bottom: var(--pont-card-header-spacing-pb-has-border);
|
|
13129
|
+
padding-left: var(--pont-card-header-spacing-pl-has-border);
|
|
12534
13130
|
}
|
|
12535
13131
|
|
|
12536
|
-
pont-card
|
|
12537
|
-
|
|
13132
|
+
[data-pont-card][data-size="default"]:has(> img:first-child)
|
|
13133
|
+
[data-pont-card-header] {
|
|
13134
|
+
padding-top: 0;
|
|
12538
13135
|
}
|
|
12539
13136
|
|
|
12540
|
-
|
|
12541
|
-
|
|
13137
|
+
/* * SMALL * */
|
|
13138
|
+
|
|
13139
|
+
[data-pont-card][data-size="sm"] [data-pont-card-header] {
|
|
13140
|
+
-moz-column-gap: var(--pont-card-header-layout-gap-x-sm);
|
|
13141
|
+
column-gap: var(--pont-card-header-layout-gap-x-sm);
|
|
13142
|
+
row-gap: var(--pont-card-header-layout-gap-y-sm);
|
|
13143
|
+
|
|
13144
|
+
padding-top: var(--pont-card-header-spacing-pt-sm);
|
|
13145
|
+
padding-right: var(--pont-card-header-spacing-pr-sm);
|
|
13146
|
+
padding-bottom: var(--pont-card-header-spacing-pb-sm);
|
|
13147
|
+
padding-left: var(--pont-card-header-spacing-pl-sm);
|
|
13148
|
+
}
|
|
13149
|
+
|
|
13150
|
+
[data-pont-card][data-size="sm"] [data-pont-card-header][data-border] {
|
|
13151
|
+
padding-top: var(--pont-card-header-spacing-pt-sm-has-border);
|
|
13152
|
+
padding-right: var(--pont-card-header-spacing-pr-sm-has-border);
|
|
13153
|
+
padding-bottom: var(--pont-card-header-spacing-pb-sm-has-border);
|
|
13154
|
+
padding-left: var(--pont-card-header-spacing-pl-sm-has-border);
|
|
13155
|
+
}
|
|
13156
|
+
|
|
13157
|
+
[data-pont-card][data-size="sm"]:has(> img:first-child)
|
|
13158
|
+
[data-pont-card-header] {
|
|
13159
|
+
padding-top: 0;
|
|
12542
13160
|
}
|
|
12543
13161
|
|
|
12544
13162
|
/*
|
|
@@ -12547,18 +13165,29 @@ pont-card-header > [data-slot='card-header']:has(> pont-card-action) {
|
|
|
12547
13165
|
* --------------------------------------------------
|
|
12548
13166
|
*/
|
|
12549
13167
|
|
|
12550
|
-
|
|
12551
|
-
font-
|
|
12552
|
-
|
|
12553
|
-
|
|
13168
|
+
[data-pont-card-title] {
|
|
13169
|
+
font-family: var(--pont-card-title-typography-font);
|
|
13170
|
+
color: var(--pont-card-title-typography-color);
|
|
13171
|
+
}
|
|
13172
|
+
|
|
13173
|
+
/* * -------- SIZES -------- * */
|
|
13174
|
+
|
|
13175
|
+
/* * DEFAULT * */
|
|
13176
|
+
|
|
13177
|
+
[data-pont-card][data-size="default"] [data-pont-card-title] {
|
|
13178
|
+
font-size: var(--pont-card-title-typography-size);
|
|
13179
|
+
font-weight: var(--pont-card-title-typography-weight);
|
|
13180
|
+
letter-spacing: var(--pont-card-title-typography-tracking);
|
|
13181
|
+
line-height: var(--pont-card-title-typography-leading);
|
|
12554
13182
|
}
|
|
12555
13183
|
|
|
12556
|
-
|
|
12557
|
-
|
|
12558
|
-
|
|
12559
|
-
|
|
12560
|
-
font-
|
|
12561
|
-
|
|
13184
|
+
/* * SMALL * */
|
|
13185
|
+
|
|
13186
|
+
[data-pont-card][data-size="sm"] [data-pont-card-title] {
|
|
13187
|
+
font-size: var(--pont-card-title-typography-size-sm);
|
|
13188
|
+
font-weight: var(--pont-card-title-typography-weight-sm);
|
|
13189
|
+
letter-spacing: var(--pont-card-title-typography-tracking-sm);
|
|
13190
|
+
line-height: var(--pont-card-title-typography-leading-sm);
|
|
12562
13191
|
}
|
|
12563
13192
|
|
|
12564
13193
|
/*
|
|
@@ -12567,10 +13196,29 @@ pont-card
|
|
|
12567
13196
|
* --------------------------------------------------
|
|
12568
13197
|
*/
|
|
12569
13198
|
|
|
12570
|
-
|
|
12571
|
-
font-
|
|
12572
|
-
|
|
12573
|
-
|
|
13199
|
+
[data-pont-card-description] {
|
|
13200
|
+
font-family: var(--pont-card-description-typography-font);
|
|
13201
|
+
color: var(--pont-card-description-typography-color);
|
|
13202
|
+
}
|
|
13203
|
+
|
|
13204
|
+
/* * -------- SIZES -------- * */
|
|
13205
|
+
|
|
13206
|
+
/* * DEFAULT * */
|
|
13207
|
+
|
|
13208
|
+
[data-pont-card][data-size="default"] [data-pont-card-description] {
|
|
13209
|
+
font-size: var(--pont-card-description-typography-size);
|
|
13210
|
+
font-weight: var(--pont-card-description-typography-weight);
|
|
13211
|
+
letter-spacing: var(--pont-card-description-typography-tracking);
|
|
13212
|
+
line-height: var(--pont-card-description-typography-leading);
|
|
13213
|
+
}
|
|
13214
|
+
|
|
13215
|
+
/* * SMALL * */
|
|
13216
|
+
|
|
13217
|
+
[data-pont-card][data-size="sm"] [data-pont-card-description] {
|
|
13218
|
+
font-size: var(--pont-card-description-typography-size-sm);
|
|
13219
|
+
font-weight: var(--pont-card-description-typography-weight-sm);
|
|
13220
|
+
letter-spacing: var(--pont-card-description-typography-tracking-sm);
|
|
13221
|
+
line-height: var(--pont-card-description-typography-leading-sm);
|
|
12574
13222
|
}
|
|
12575
13223
|
|
|
12576
13224
|
/*
|
|
@@ -12581,10 +13229,10 @@ pont-card-description > [data-slot='card-description'] {
|
|
|
12581
13229
|
|
|
12582
13230
|
pont-card-action {
|
|
12583
13231
|
grid-column-start: 2;
|
|
12584
|
-
grid-row: span 2 / span 2;
|
|
12585
13232
|
grid-row-start: 1;
|
|
12586
|
-
|
|
13233
|
+
grid-row-end: span 2;
|
|
12587
13234
|
justify-self: end;
|
|
13235
|
+
align-self: flex-start;
|
|
12588
13236
|
}
|
|
12589
13237
|
|
|
12590
13238
|
/*
|
|
@@ -12593,17 +13241,39 @@ pont-card-action {
|
|
|
12593
13241
|
* --------------------------------------------------
|
|
12594
13242
|
*/
|
|
12595
13243
|
|
|
12596
|
-
|
|
12597
|
-
|
|
12598
|
-
|
|
13244
|
+
/* * -------- SIZES -------- * */
|
|
13245
|
+
|
|
13246
|
+
[data-pont-card-content] {
|
|
13247
|
+
font-family: var(--pont-card-content-typography-font);
|
|
13248
|
+
color: var(--pont-card-content-typography-color);
|
|
13249
|
+
}
|
|
13250
|
+
|
|
13251
|
+
/* * DEFAULT * */
|
|
13252
|
+
|
|
13253
|
+
[data-pont-card][data-size="default"] [data-pont-card-content] {
|
|
13254
|
+
padding-top: var(--pont-card-content-spacing-pt);
|
|
13255
|
+
padding-right: var(--pont-card-content-spacing-pr);
|
|
13256
|
+
padding-bottom: var(--pont-card-content-spacing-pb);
|
|
13257
|
+
padding-left: var(--pont-card-content-spacing-pl);
|
|
13258
|
+
|
|
13259
|
+
font-size: var(--pont-card-content-typography-size);
|
|
13260
|
+
font-weight: var(--pont-card-content-typography-weight);
|
|
13261
|
+
letter-spacing: var(--pont-card-content-typography-tracking);
|
|
13262
|
+
line-height: var(--pont-card-content-typography-leading);
|
|
12599
13263
|
}
|
|
12600
13264
|
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
|
|
12605
|
-
padding-
|
|
12606
|
-
padding-
|
|
13265
|
+
/* * SMALL * */
|
|
13266
|
+
|
|
13267
|
+
[data-pont-card][data-size="sm"] [data-pont-card-content] {
|
|
13268
|
+
padding-top: var(--pont-card-content-spacing-pt-sm);
|
|
13269
|
+
padding-right: var(--pont-card-content-spacing-pr-sm);
|
|
13270
|
+
padding-bottom: var(--pont-card-content-spacing-pb-sm);
|
|
13271
|
+
padding-left: var(--pont-card-content-spacing-pl-sm);
|
|
13272
|
+
|
|
13273
|
+
font-size: var(--pont-card-content-typography-size-sm);
|
|
13274
|
+
font-weight: var(--pont-card-content-typography-weight-sm);
|
|
13275
|
+
letter-spacing: var(--pont-card-content-typography-tracking-sm);
|
|
13276
|
+
line-height: var(--pont-card-content-typography-leading-sm);
|
|
12607
13277
|
}
|
|
12608
13278
|
|
|
12609
13279
|
/*
|
|
@@ -12612,34 +13282,69 @@ pont-card
|
|
|
12612
13282
|
* --------------------------------------------------
|
|
12613
13283
|
*/
|
|
12614
13284
|
|
|
12615
|
-
|
|
13285
|
+
[data-pont-card-footer] {
|
|
12616
13286
|
display: flex;
|
|
13287
|
+
|
|
12617
13288
|
align-items: center;
|
|
12618
13289
|
|
|
12619
|
-
|
|
12620
|
-
|
|
13290
|
+
border-top-left-radius: var(--pont-card-footer-border-radius-tl);
|
|
13291
|
+
border-top-right-radius: var(--pont-card-footer-border-radius-tr);
|
|
13292
|
+
border-bottom-right-radius: var(--pont-card-footer-border-radius-br);
|
|
13293
|
+
border-bottom-left-radius: var(--pont-card-footer-border-radius-bl);
|
|
12621
13294
|
}
|
|
12622
13295
|
|
|
12623
|
-
pont-card
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
13296
|
+
[data-pont-card-footer][data-border] {
|
|
13297
|
+
background-color: var(--pont-card-footer-bg-color-has-border);
|
|
13298
|
+
|
|
13299
|
+
border-style: var(--pont-card-footer-border-style-has-border);
|
|
13300
|
+
border-color: var(--pont-card-footer-border-color-has-border);
|
|
13301
|
+
border-top-width: var(--pont-card-footer-border-width-t-has-border);
|
|
13302
|
+
border-right-width: var(--pont-card-footer-border-width-r-has-border);
|
|
13303
|
+
border-bottom-width: var(--pont-card-footer-border-width-b-has-border);
|
|
13304
|
+
border-left-width: var(--pont-card-footer-border-width-l-has-border);
|
|
12629
13305
|
}
|
|
12630
13306
|
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
13307
|
+
/* * -------- SIZES -------- * */
|
|
13308
|
+
|
|
13309
|
+
/* * DEFAULT * */
|
|
13310
|
+
|
|
13311
|
+
[data-pont-card][data-size="default"] [data-pont-card-footer] {
|
|
13312
|
+
padding-top: var(--pont-card-footer-spacing-pt);
|
|
13313
|
+
padding-right: var(--pont-card-footer-spacing-pr);
|
|
13314
|
+
padding-bottom: var(--pont-card-footer-spacing-pb);
|
|
13315
|
+
padding-left: var(--pont-card-footer-spacing-pl);
|
|
12636
13316
|
}
|
|
12637
13317
|
|
|
12638
|
-
pont-card
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
padding-
|
|
13318
|
+
[data-pont-card][data-size="default"] [data-pont-card-footer][data-border] {
|
|
13319
|
+
padding-top: var(--pont-card-footer-spacing-pt-has-border);
|
|
13320
|
+
padding-right: var(--pont-card-footer-spacing-pr-has-border);
|
|
13321
|
+
padding-bottom: var(--pont-card-footer-spacing-pb-has-border);
|
|
13322
|
+
padding-left: var(--pont-card-footer-spacing-pl-has-border);
|
|
13323
|
+
}
|
|
13324
|
+
|
|
13325
|
+
[data-pont-card][data-size="default"]:has(> img:last-child)
|
|
13326
|
+
[data-pont-card-footer] {
|
|
13327
|
+
padding-bottom: 0;
|
|
13328
|
+
}
|
|
13329
|
+
|
|
13330
|
+
/* * SMALL * */
|
|
13331
|
+
|
|
13332
|
+
[data-pont-card][data-size="sm"] [data-pont-card-footer] {
|
|
13333
|
+
padding-top: var(--pont-card-footer-spacing-pt-sm);
|
|
13334
|
+
padding-right: var(--pont-card-footer-spacing-pr-sm);
|
|
13335
|
+
padding-bottom: var(--pont-card-footer-spacing-pb-sm);
|
|
13336
|
+
padding-left: var(--pont-card-footer-spacing-pl-sm);
|
|
13337
|
+
}
|
|
13338
|
+
|
|
13339
|
+
[data-pont-card][data-size="sm"] [data-pont-card-footer][data-border] {
|
|
13340
|
+
padding-top: var(--pont-card-footer-spacing-pt-sm-has-border);
|
|
13341
|
+
padding-right: var(--pont-card-footer-spacing-pr-sm-has-border);
|
|
13342
|
+
padding-bottom: var(--pont-card-footer-spacing-pb-sm-has-border);
|
|
13343
|
+
padding-left: var(--pont-card-footer-spacing-pl-sm-has-border);
|
|
13344
|
+
}
|
|
13345
|
+
|
|
13346
|
+
[data-pont-card][data-size="sm"]:has(> img:last-child) [data-pont-card-footer] {
|
|
13347
|
+
padding-bottom: 0;
|
|
12643
13348
|
}
|
|
12644
13349
|
|
|
12645
13350
|
/*
|
|
@@ -13148,6 +13853,7 @@ pont-field > [data-slot='field'] {
|
|
|
13148
13853
|
/* INVALID */
|
|
13149
13854
|
|
|
13150
13855
|
pont-field > [data-slot='field'][data-invalid='true'] {
|
|
13856
|
+
--pont-label-typography-color: var(--pont-field-color-text-invalid);
|
|
13151
13857
|
color: var(--pont-field-color-text-invalid);
|
|
13152
13858
|
}
|
|
13153
13859
|
|
|
@@ -15677,6 +16383,180 @@ pont-scroll-area > [data-slot=scroll-area] {
|
|
|
15677
16383
|
);
|
|
15678
16384
|
}
|
|
15679
16385
|
|
|
16386
|
+
/*
|
|
16387
|
+
* ===========================================================================
|
|
16388
|
+
* SWITCH COMPONENT STYLES
|
|
16389
|
+
* ===========================================================================
|
|
16390
|
+
*/
|
|
16391
|
+
|
|
16392
|
+
/*
|
|
16393
|
+
* --------------------------------------------------
|
|
16394
|
+
* SWITCH
|
|
16395
|
+
* --------------------------------------------------
|
|
16396
|
+
*/
|
|
16397
|
+
|
|
16398
|
+
pont-switch {
|
|
16399
|
+
display: inline-flex;
|
|
16400
|
+
|
|
16401
|
+
flex-shrink: 0;
|
|
16402
|
+
|
|
16403
|
+
width: var(--pont-switch-sizing-w);
|
|
16404
|
+
height: var(--pont-switch-sizing-h);
|
|
16405
|
+
}
|
|
16406
|
+
|
|
16407
|
+
[data-pont-switch] {
|
|
16408
|
+
display: flex;
|
|
16409
|
+
position: relative;
|
|
16410
|
+
|
|
16411
|
+
align-items: var(--pont-switch-layout-items);
|
|
16412
|
+
|
|
16413
|
+
width: var(--pont-ref-sizing-w-full);
|
|
16414
|
+
height: var(--pont-ref-sizing-h-full);
|
|
16415
|
+
|
|
16416
|
+
background-color: var(--pont-switch-bg-color);
|
|
16417
|
+
|
|
16418
|
+
border-top-left-radius: var(--pont-switch-border-radius-tl);
|
|
16419
|
+
border-top-right-radius: var(--pont-switch-border-radius-tr);
|
|
16420
|
+
border-bottom-right-radius: var(--pont-switch-border-radius-br);
|
|
16421
|
+
border-bottom-left-radius: var(--pont-switch-border-radius-bl);
|
|
16422
|
+
|
|
16423
|
+
border-style: var(--pont-switch-border-style);
|
|
16424
|
+
border-color: var(--pont-switch-border-color);
|
|
16425
|
+
border-top-width: var(--pont-switch-border-width-t);
|
|
16426
|
+
border-right-width: var(--pont-switch-border-width-r);
|
|
16427
|
+
border-bottom-width: var(--pont-switch-border-width-b);
|
|
16428
|
+
border-left-width: var(--pont-switch-border-width-l);
|
|
16429
|
+
|
|
16430
|
+
outline-width: var(--pont-switch-outline-w);
|
|
16431
|
+
outline-color: var(--pont-switch-outline-color);
|
|
16432
|
+
outline-style: var(--pont-switch-outline-style);
|
|
16433
|
+
outline-offset: var(--pont-switch-outline-offset);
|
|
16434
|
+
|
|
16435
|
+
transition-property: var(--pont-switch-motion-property);
|
|
16436
|
+
transition-duration: var(--pont-switch-motion-duration);
|
|
16437
|
+
transition-timing-function: var(--pont-switch-motion-fn);
|
|
16438
|
+
}
|
|
16439
|
+
|
|
16440
|
+
/* * -------- SWITCH ::after -------- * */
|
|
16441
|
+
|
|
16442
|
+
[data-pont-switch]::after {
|
|
16443
|
+
content: "";
|
|
16444
|
+
position: absolute;
|
|
16445
|
+
|
|
16446
|
+
top: var(--pont-switch-after-layout-inset-t);
|
|
16447
|
+
right: var(--pont-switch-after-layout-inset-r);
|
|
16448
|
+
bottom: var(--pont-switch-after-layout-inset-b);
|
|
16449
|
+
left: var(--pont-switch-after-layout-inset-l);
|
|
16450
|
+
}
|
|
16451
|
+
|
|
16452
|
+
/* * -------- STATES -------- * */
|
|
16453
|
+
|
|
16454
|
+
/* * FOCUS * */
|
|
16455
|
+
|
|
16456
|
+
[data-pont-switch]:focus-visible {
|
|
16457
|
+
border-style: var(--pont-switch-border-style-focus);
|
|
16458
|
+
border-color: var(--pont-switch-border-color-focus);
|
|
16459
|
+
border-top-width: var(--pont-switch-border-width-t-focus);
|
|
16460
|
+
border-right-width: var(--pont-switch-border-width-r-focus);
|
|
16461
|
+
border-bottom-width: var(--pont-switch-border-width-b-focus);
|
|
16462
|
+
border-left-width: var(--pont-switch-border-width-l-focus);
|
|
16463
|
+
|
|
16464
|
+
outline-width: var(--pont-switch-outline-w-focus);
|
|
16465
|
+
outline-color: var(--pont-switch-outline-color-focus);
|
|
16466
|
+
outline-style: var(--pont-switch-outline-style-focus);
|
|
16467
|
+
outline-offset: var(--pont-switch-outline-offset-focus);
|
|
16468
|
+
|
|
16469
|
+
box-shadow:
|
|
16470
|
+
var(--pont-switch-effect-inset-shadow-focus),
|
|
16471
|
+
var(--pont-switch-effect-inset-ring-focus),
|
|
16472
|
+
var(--pont-switch-effect-ring-offset-focus),
|
|
16473
|
+
var(--pont-switch-effect-ring-focus), var(--pont-switch-effect-shadow-focus);
|
|
16474
|
+
}
|
|
16475
|
+
|
|
16476
|
+
/* * DISABLED * */
|
|
16477
|
+
|
|
16478
|
+
[data-pont-switch][data-disabled] {
|
|
16479
|
+
opacity: var(--pont-switch-effect-opacity-disabled);
|
|
16480
|
+
|
|
16481
|
+
cursor: not-allowed;
|
|
16482
|
+
}
|
|
16483
|
+
|
|
16484
|
+
/* * CHECKED * */
|
|
16485
|
+
|
|
16486
|
+
[data-pont-switch][data-checked] {
|
|
16487
|
+
background-color: var(--pont-switch-bg-color-checked);
|
|
16488
|
+
}
|
|
16489
|
+
|
|
16490
|
+
/* * INVALID * */
|
|
16491
|
+
|
|
16492
|
+
[data-pont-switch][aria-invalid] {
|
|
16493
|
+
border-style: var(--pont-switch-border-style-invalid);
|
|
16494
|
+
border-color: var(--pont-switch-border-color-invalid);
|
|
16495
|
+
border-top-width: var(--pont-switch-border-width-t-invalid);
|
|
16496
|
+
border-right-width: var(--pont-switch-border-width-r-invalid);
|
|
16497
|
+
border-bottom-width: var(--pont-switch-border-width-b-invalid);
|
|
16498
|
+
border-left-width: var(--pont-switch-border-width-l-invalid);
|
|
16499
|
+
|
|
16500
|
+
outline-width: var(--pont-switch-outline-w-invalid);
|
|
16501
|
+
outline-color: var(--pont-switch-outline-color-invalid);
|
|
16502
|
+
outline-style: var(--pont-switch-outline-style-invalid);
|
|
16503
|
+
outline-offset: var(--pont-switch-outline-offset-invalid);
|
|
16504
|
+
|
|
16505
|
+
box-shadow:
|
|
16506
|
+
var(--pont-switch-effect-inset-shadow-invalid),
|
|
16507
|
+
var(--pont-switch-effect-inset-ring-invalid),
|
|
16508
|
+
var(--pont-switch-effect-ring-offset-invalid),
|
|
16509
|
+
var(--pont-switch-effect-ring-invalid),
|
|
16510
|
+
var(--pont-switch-effect-shadow-invalid);
|
|
16511
|
+
}
|
|
16512
|
+
|
|
16513
|
+
/* * MISCELLANEOUS * */
|
|
16514
|
+
|
|
16515
|
+
[data-pont-field-label]:has(:focus-visible) [data-pont-switch] {
|
|
16516
|
+
--pont-switch-effect-ring-w-focus: 0px;
|
|
16517
|
+
|
|
16518
|
+
border-color: var(--pont-switch-border-color);
|
|
16519
|
+
}
|
|
16520
|
+
|
|
16521
|
+
/*
|
|
16522
|
+
* --------------------------------------------------
|
|
16523
|
+
* SWITCH THUMB
|
|
16524
|
+
* --------------------------------------------------
|
|
16525
|
+
*/
|
|
16526
|
+
|
|
16527
|
+
[data-pont-switch-thumb] {
|
|
16528
|
+
display: block;
|
|
16529
|
+
pointer-events: none;
|
|
16530
|
+
|
|
16531
|
+
width: var(--pont-switch-thumb-sizing-w);
|
|
16532
|
+
height: var(--pont-switch-thumb-sizing-h);
|
|
16533
|
+
|
|
16534
|
+
background-color: var(--pont-switch-thumb-bg-color);
|
|
16535
|
+
|
|
16536
|
+
border-top-left-radius: var(--pont-switch-thumb-border-radius-tl);
|
|
16537
|
+
border-top-right-radius: var(--pont-switch-thumb-border-radius-tr);
|
|
16538
|
+
border-bottom-right-radius: var(--pont-switch-thumb-border-radius-br);
|
|
16539
|
+
border-bottom-left-radius: var(--pont-switch-thumb-border-radius-bl);
|
|
16540
|
+
|
|
16541
|
+
transition-property: var(--pont-switch-thumb-motion-property);
|
|
16542
|
+
transition-duration: var(--pont-switch-thumb-motion-duration);
|
|
16543
|
+
transition-timing-function: var(--pont-switch-thumb-motion-fn);
|
|
16544
|
+
|
|
16545
|
+
translate: var(--pont-switch-thumb-transform-translate-x)
|
|
16546
|
+
var(--pont-switch-thumb-transform-translate-y);
|
|
16547
|
+
}
|
|
16548
|
+
|
|
16549
|
+
/* * -------- STATES -------- * */
|
|
16550
|
+
|
|
16551
|
+
/* * CHECKED * */
|
|
16552
|
+
|
|
16553
|
+
[data-pont-switch-thumb][data-checked] {
|
|
16554
|
+
background-color: var(--pont-switch-thumb-bg-color-checked);
|
|
16555
|
+
|
|
16556
|
+
translate: var(--pont-switch-thumb-transform-translate-x-checked)
|
|
16557
|
+
var(--pont-switch-thumb-transform-translate-y-checked);
|
|
16558
|
+
}
|
|
16559
|
+
|
|
15680
16560
|
/* ---- widget layer -------------------------------------------------------- */
|
|
15681
16561
|
|
|
15682
16562
|
/*
|
|
@@ -16908,13 +17788,22 @@ pont-countdown {
|
|
|
16908
17788
|
|
|
16909
17789
|
/* ===== Pass the block's tokens to the card ===== */
|
|
16910
17790
|
pont-block {
|
|
16911
|
-
--pont-card-
|
|
16912
|
-
|
|
16913
|
-
--pont-card-
|
|
16914
|
-
--pont-card-
|
|
16915
|
-
--pont-card-
|
|
16916
|
-
--pont-card-
|
|
16917
|
-
|
|
17791
|
+
--pont-card-sizing-w: var(--pont-block-space-width);
|
|
17792
|
+
|
|
17793
|
+
--pont-card-spacing-pt: var(--pont-block-space-py);
|
|
17794
|
+
--pont-card-spacing-pr: var(--pont-block-space-px);
|
|
17795
|
+
--pont-card-spacing-pb: var(--pont-block-space-py);
|
|
17796
|
+
--pont-card-spacing-pl: var(--pont-block-space-px);
|
|
17797
|
+
|
|
17798
|
+
--pont-card-bg-color: var(--pont-block-color-bg);
|
|
17799
|
+
|
|
17800
|
+
--pont-card-border-radius-tl: var(--pont-block-radius);
|
|
17801
|
+
--pont-card-border-radius-tr: var(--pont-block-radius);
|
|
17802
|
+
--pont-card-border-radius-br: var(--pont-block-radius);
|
|
17803
|
+
--pont-card-border-radius-bl: var(--pont-block-radius);
|
|
17804
|
+
|
|
17805
|
+
--pont-card-effect-ring-w: var(--pont-block-width-ring);
|
|
17806
|
+
--pont-card-effect-ring-color: var(--pont-block-color-ring);
|
|
16918
17807
|
}
|
|
16919
17808
|
|
|
16920
17809
|
/* ===== Card behaviour ===== */
|
|
@@ -16974,8 +17863,11 @@ pont-block > pont-card pont-card-content > [data-slot="card-content"] {
|
|
|
16974
17863
|
}
|
|
16975
17864
|
|
|
16976
17865
|
pont-block > pont-card > [data-slot="card"] > pont-card-footer {
|
|
16977
|
-
--pont-card-
|
|
16978
|
-
--pont-card-footer-
|
|
17866
|
+
--pont-card-footer-spacing-pb: var(--pont-block-footer-space-py);
|
|
17867
|
+
--pont-card-footer-spacing-pt-has-border: var(--pont-block-footer-space-py);
|
|
17868
|
+
--pont-card-footer-spacing-pb-has-border: var(--pont-block-footer-space-py);
|
|
17869
|
+
|
|
17870
|
+
--pont-card-footer-bg-color-has-border: var(--pont-block-footer-color-bg);
|
|
16979
17871
|
}
|
|
16980
17872
|
|
|
16981
17873
|
pont-block
|
|
@@ -16990,7 +17882,7 @@ pont-block
|
|
|
16990
17882
|
/* ===== Children Styles ===== */
|
|
16991
17883
|
|
|
16992
17884
|
pont-block pont-card pont-divider {
|
|
16993
|
-
--pont-field-separator-content-color-bg: var(--pont-card-color
|
|
17885
|
+
--pont-field-separator-content-color-bg: var(--pont-card-bg-color);
|
|
16994
17886
|
}
|
|
16995
17887
|
|
|
16996
17888
|
/* ===== Responsive overrides ===== */
|
|
@@ -17665,8 +18557,10 @@ pont-account-settings pont-tabs[part="account-settings-tab"] > div {
|
|
|
17665
18557
|
}
|
|
17666
18558
|
|
|
17667
18559
|
pont-profile pont-card {
|
|
17668
|
-
--pont-card-
|
|
17669
|
-
--pont-card-
|
|
18560
|
+
--pont-card-spacing-pt: var(--pont-account-settings-card-space-py);
|
|
18561
|
+
--pont-card-spacing-pr: var(--pont-account-settings-card-space-px);
|
|
18562
|
+
--pont-card-spacing-pb: var(--pont-account-settings-card-space-py);
|
|
18563
|
+
--pont-card-spacing-pl: var(--pont-account-settings-card-space-px);
|
|
17670
18564
|
}
|
|
17671
18565
|
|
|
17672
18566
|
pont-profile pont-card pont-input {
|
|
@@ -17701,7 +18595,7 @@ pont-profile div[part="tab-trigger"]:hover {
|
|
|
17701
18595
|
}
|
|
17702
18596
|
|
|
17703
18597
|
pont-profile pont-card[part="personal-info-card"][editing="true"] {
|
|
17704
|
-
--pont-card-color
|
|
18598
|
+
--pont-card-bg-color: var(
|
|
17705
18599
|
--pont-account-settings-personal-info-card-color-bg-editing
|
|
17706
18600
|
);
|
|
17707
18601
|
--pont-button-spacing-pr-lg: var(
|
|
@@ -17716,7 +18610,7 @@ pont-profile
|
|
|
17716
18610
|
pont-card[part="personal-info-card"][editing="true"]
|
|
17717
18611
|
> [data-slot="card"] {
|
|
17718
18612
|
box-shadow: var(--pont-account-settings-edit-card-shadow);
|
|
17719
|
-
border: var(--pont-card-
|
|
18613
|
+
border: var(--pont-card-effect-ring-w) solid var(--pont-card-effect-ring-color);
|
|
17720
18614
|
}
|
|
17721
18615
|
|
|
17722
18616
|
pont-profile pont-popover[part="account-info-popover"] {
|
|
@@ -17738,11 +18632,11 @@ pont-profile
|
|
|
17738
18632
|
pont-card[part="urls-info-card"][editing="true"]
|
|
17739
18633
|
> [data-slot="card"] {
|
|
17740
18634
|
box-shadow: var(--pont-account-settings-edit-card-shadow);
|
|
17741
|
-
border: var(--pont-card-
|
|
18635
|
+
border: var(--pont-card-effect-ring-w) solid var(--pont-card-effect-ring-color);
|
|
17742
18636
|
}
|
|
17743
18637
|
|
|
17744
18638
|
pont-profile pont-card[part="urls-info-card"][editing="true"] {
|
|
17745
|
-
--pont-card-color
|
|
18639
|
+
--pont-card-bg-color: var(
|
|
17746
18640
|
--pont-account-settings-urls-info-card-color-bg-editing
|
|
17747
18641
|
);
|
|
17748
18642
|
--pont-button-spacing-pr-lg: var(
|
|
@@ -17754,7 +18648,7 @@ pont-profile pont-card[part="urls-info-card"][editing="true"] {
|
|
|
17754
18648
|
}
|
|
17755
18649
|
|
|
17756
18650
|
pont-profile pont-card[part="location-info-card"][editing="true"] {
|
|
17757
|
-
--pont-card-color
|
|
18651
|
+
--pont-card-bg-color: var(
|
|
17758
18652
|
--pont-account-settings-location-info-card-color-bg-editing
|
|
17759
18653
|
);
|
|
17760
18654
|
--pont-button-spacing-pl-lg: var(
|
|
@@ -17766,7 +18660,7 @@ pont-profile
|
|
|
17766
18660
|
pont-card[part="location-info-card"][editing="true"]
|
|
17767
18661
|
> [data-slot="card"] {
|
|
17768
18662
|
box-shadow: var(--pont-account-settings-edit-card-shadow);
|
|
17769
|
-
border: var(--pont-card-
|
|
18663
|
+
border: var(--pont-card-effect-ring-w) solid var(--pont-card-effect-ring-color);
|
|
17770
18664
|
}
|
|
17771
18665
|
|
|
17772
18666
|
pont-account-settings div[part="modal-content"] {
|
|
@@ -18490,7 +19384,7 @@ pont-account-settings pont-button[part="burger-close-button"] button {
|
|
|
18490
19384
|
}
|
|
18491
19385
|
|
|
18492
19386
|
pont-account-info pont-card[part="edit-form"] {
|
|
18493
|
-
--pont-card-color
|
|
19387
|
+
--pont-card-bg-color: var(--pont-account-info-edit-form-card-color-bg);
|
|
18494
19388
|
margin-bottom: var(--pont-ref-space-4);
|
|
18495
19389
|
--pont-button-spacing-pr-lg: var(
|
|
18496
19390
|
--pont-account-settings-info-card-button-space-px-lg
|
|
@@ -18502,11 +19396,11 @@ pont-account-info pont-card[part="edit-form"] {
|
|
|
18502
19396
|
|
|
18503
19397
|
pont-account-info pont-card[part="edit-form"] > [data-slot="card"] {
|
|
18504
19398
|
box-shadow: var(--pont-account-settings-edit-card-shadow);
|
|
18505
|
-
border: var(--pont-card-
|
|
19399
|
+
border: var(--pont-card-effect-ring-w) solid var(--pont-card-effect-ring-color);
|
|
18506
19400
|
}
|
|
18507
19401
|
|
|
18508
19402
|
pont-account-info pont-card[part="verification-form"] {
|
|
18509
|
-
--pont-card-color
|
|
19403
|
+
--pont-card-bg-color: var(--pont-account-info-verification-form-card-color-bg);
|
|
18510
19404
|
margin-top: var(--pont-ref-space-4);
|
|
18511
19405
|
}
|
|
18512
19406
|
|
|
@@ -18723,10 +19617,17 @@ pont-monitoring-cards .pont-statistic-block-header {
|
|
|
18723
19617
|
color: hsl(var(--pont-sem-color-text-secondary));
|
|
18724
19618
|
}
|
|
18725
19619
|
|
|
18726
|
-
pont-monitoring-cards pont-card
|
|
18727
|
-
|
|
18728
|
-
|
|
18729
|
-
|
|
19620
|
+
pont-monitoring-cards pont-card {
|
|
19621
|
+
--pont-card-border-style: solid;
|
|
19622
|
+
--pont-card-border-color: var(--pont-monitoring-cards-color-border);
|
|
19623
|
+
--pont-card-border-width-t: var(--pont-monitoring-cards-width-border);
|
|
19624
|
+
--pont-card-border-width-r: var(--pont-monitoring-cards-width-border);
|
|
19625
|
+
--pont-card-border-width-b: var(--pont-monitoring-cards-width-border);
|
|
19626
|
+
--pont-card-border-width-l: var(--pont-monitoring-cards-width-border);
|
|
19627
|
+
|
|
19628
|
+
--pont-card-effect-shadow: 0 4px 4px -2px hsla(0, 0%, 0%, 0.1);
|
|
19629
|
+
--pont-card-effect-ring-w: 0px;
|
|
19630
|
+
--pont-card-effect-ring-color: transparent;
|
|
18730
19631
|
}
|
|
18731
19632
|
/* Mobile: 2 columns */
|
|
18732
19633
|
@media (max-width: 728px) {
|
|
@@ -19768,10 +20669,6 @@ video {
|
|
|
19768
20669
|
width: var(--pont-select-trigger-icon-space-size);
|
|
19769
20670
|
height: var(--pont-select-trigger-icon-space-size);
|
|
19770
20671
|
}
|
|
19771
|
-
.pont-size-switch-thumb-space-size{
|
|
19772
|
-
width: var(--pont-switch-thumb-space-size);
|
|
19773
|
-
height: var(--pont-switch-thumb-space-size);
|
|
19774
|
-
}
|
|
19775
20672
|
.\!pont-h-\[360px\]{
|
|
19776
20673
|
height: 360px !important;
|
|
19777
20674
|
}
|
|
@@ -19901,9 +20798,6 @@ video {
|
|
|
19901
20798
|
.pont-h-select-trigger-space-h{
|
|
19902
20799
|
height: var(--pont-select-trigger-space-h);
|
|
19903
20800
|
}
|
|
19904
|
-
.pont-h-switch-space-h{
|
|
19905
|
-
height: var(--pont-switch-space-h);
|
|
19906
|
-
}
|
|
19907
20801
|
.pont-h-table-head-cell-space-h{
|
|
19908
20802
|
height: var(--pont-table-head-cell-space-h);
|
|
19909
20803
|
}
|
|
@@ -20113,9 +21007,6 @@ video {
|
|
|
20113
21007
|
.pont-w-screen{
|
|
20114
21008
|
width: 100vw;
|
|
20115
21009
|
}
|
|
20116
|
-
.pont-w-switch-space-w{
|
|
20117
|
-
width: var(--pont-switch-space-w);
|
|
20118
|
-
}
|
|
20119
21010
|
.pont-w-table-container-space-w{
|
|
20120
21011
|
width: var(--pont-table-container-space-w);
|
|
20121
21012
|
}
|
|
@@ -20239,10 +21130,6 @@ video {
|
|
|
20239
21130
|
--tw-translate-x: -50%;
|
|
20240
21131
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
20241
21132
|
}
|
|
20242
|
-
.pont-translate-x-\[calc\(100\%-2px\)\]{
|
|
20243
|
-
--tw-translate-x: calc(100% - 2px);
|
|
20244
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
20245
|
-
}
|
|
20246
21133
|
.pont-translate-y-0\.5{
|
|
20247
21134
|
--tw-translate-y: 0.125rem;
|
|
20248
21135
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -20716,12 +21603,6 @@ video {
|
|
|
20716
21603
|
.pont-rounded-skeleton-radius{
|
|
20717
21604
|
border-radius: var(--pont-skeleton-radius);
|
|
20718
21605
|
}
|
|
20719
|
-
.pont-rounded-switch-radius{
|
|
20720
|
-
border-radius: var(--pont-switch-radius);
|
|
20721
|
-
}
|
|
20722
|
-
.pont-rounded-switch-thumb-radius{
|
|
20723
|
-
border-radius: var(--pont-switch-thumb-radius);
|
|
20724
|
-
}
|
|
20725
21606
|
.pont-rounded-toast-action-radius{
|
|
20726
21607
|
border-radius: var(--pont-toast-action-radius);
|
|
20727
21608
|
}
|
|
@@ -20794,9 +21675,6 @@ video {
|
|
|
20794
21675
|
.pont-border-select-trigger-width-border{
|
|
20795
21676
|
border-width: var(--pont-select-trigger-width-border);
|
|
20796
21677
|
}
|
|
20797
|
-
.pont-border-switch-width-border{
|
|
20798
|
-
border-width: var(--pont-switch-width-border);
|
|
20799
|
-
}
|
|
20800
21678
|
.pont-border-b{
|
|
20801
21679
|
border-bottom-width: 1px;
|
|
20802
21680
|
}
|
|
@@ -20886,9 +21764,6 @@ video {
|
|
|
20886
21764
|
--tw-border-opacity: 1;
|
|
20887
21765
|
border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
|
|
20888
21766
|
}
|
|
20889
|
-
.pont-border-switch-color-border{
|
|
20890
|
-
border-color: hsl(var(--pont-switch-color-border));
|
|
20891
|
-
}
|
|
20892
21767
|
.pont-border-table-body-color-border{
|
|
20893
21768
|
border-color: hsl(var(--pont-table-body-color-border));
|
|
20894
21769
|
}
|
|
@@ -21055,18 +21930,6 @@ video {
|
|
|
21055
21930
|
--tw-bg-opacity: 1;
|
|
21056
21931
|
background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
|
|
21057
21932
|
}
|
|
21058
|
-
.pont-bg-switch-color-bg-checked{
|
|
21059
|
-
background-color: hsl(var(--pont-switch-color-bg-checked));
|
|
21060
|
-
}
|
|
21061
|
-
.pont-bg-switch-color-bg-unchecked{
|
|
21062
|
-
background-color: hsl(var(--pont-switch-color-bg-unchecked));
|
|
21063
|
-
}
|
|
21064
|
-
.pont-bg-switch-thumb-color-bg-checked{
|
|
21065
|
-
background-color: hsl(var(--pont-switch-thumb-color-bg-checked));
|
|
21066
|
-
}
|
|
21067
|
-
.pont-bg-switch-thumb-color-bg-unchecked{
|
|
21068
|
-
background-color: hsl(var(--pont-switch-thumb-color-bg-unchecked));
|
|
21069
|
-
}
|
|
21070
21933
|
.pont-bg-table-footer-color-bg{
|
|
21071
21934
|
background-color: hsl(var(--pont-table-footer-color-bg));
|
|
21072
21935
|
}
|
|
@@ -22097,9 +22960,6 @@ video {
|
|
|
22097
22960
|
.pont-opacity-select-trigger-opacity-disabled{
|
|
22098
22961
|
opacity: var(--pont-select-trigger-opacity-disabled);
|
|
22099
22962
|
}
|
|
22100
|
-
.pont-opacity-switch-opacity-disabled{
|
|
22101
|
-
opacity: var(--pont-switch-opacity-disabled);
|
|
22102
|
-
}
|
|
22103
22963
|
.pont-opacity-toast-description-opacity{
|
|
22104
22964
|
opacity: var(--pont-toast-description-opacity);
|
|
22105
22965
|
}
|
|
@@ -22177,11 +23037,6 @@ video {
|
|
|
22177
23037
|
outline: 2px solid transparent;
|
|
22178
23038
|
outline-offset: 2px;
|
|
22179
23039
|
}
|
|
22180
|
-
.pont-ring-0{
|
|
22181
|
-
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
22182
|
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
22183
|
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
22184
|
-
}
|
|
22185
23040
|
.pont-ring-offset-background{
|
|
22186
23041
|
--tw-ring-offset-color: hsl(var(--background));
|
|
22187
23042
|
}
|
|
@@ -22824,10 +23679,6 @@ body {
|
|
|
22824
23679
|
border-color: hsl(var(--pont-select-trigger-color-border-focus));
|
|
22825
23680
|
}
|
|
22826
23681
|
|
|
22827
|
-
.focus-visible\:pont-border-switch-color-border-focus:focus-visible{
|
|
22828
|
-
border-color: hsl(var(--pont-switch-color-border-focus));
|
|
22829
|
-
}
|
|
22830
|
-
|
|
22831
23682
|
.focus-visible\:pont-outline-none:focus-visible{
|
|
22832
23683
|
outline: 2px solid transparent;
|
|
22833
23684
|
outline-offset: 2px;
|
|
@@ -22869,12 +23720,6 @@ body {
|
|
|
22869
23720
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
22870
23721
|
}
|
|
22871
23722
|
|
|
22872
|
-
.focus-visible\:pont-ring-switch-width-ring-focus:focus-visible{
|
|
22873
|
-
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
22874
|
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--pont-switch-width-ring-focus) + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
22875
|
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
22876
|
-
}
|
|
22877
|
-
|
|
22878
23723
|
.focus-visible\:pont-ring-toggle-group-item-width-ring-focus:focus-visible{
|
|
22879
23724
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
22880
23725
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--pont-toggle-group-item-width-ring-focus) + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -22907,10 +23752,6 @@ body {
|
|
|
22907
23752
|
--tw-ring-color: hsl(var(--pont-select-trigger-color-ring-focus));
|
|
22908
23753
|
}
|
|
22909
23754
|
|
|
22910
|
-
.focus-visible\:pont-ring-switch-color-ring-focus:focus-visible{
|
|
22911
|
-
--tw-ring-color: hsl(var(--pont-switch-color-ring-focus));
|
|
22912
|
-
}
|
|
22913
|
-
|
|
22914
23755
|
.focus-visible\:pont-ring-toggle-color-ring-focus:focus-visible{
|
|
22915
23756
|
--tw-ring-color: hsl(var(--pont-toggle-color-ring-focus));
|
|
22916
23757
|
}
|
|
@@ -23085,16 +23926,6 @@ body {
|
|
|
23085
23926
|
height: fit-content;
|
|
23086
23927
|
}
|
|
23087
23928
|
|
|
23088
|
-
.data-\[state\=\"checked\"\]\:pont-translate-x-\[calc\(100\%-2px\)\][data-state="checked"]{
|
|
23089
|
-
--tw-translate-x: calc(100% - 2px);
|
|
23090
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
23091
|
-
}
|
|
23092
|
-
|
|
23093
|
-
.data-\[state\=\"unchecked\"\]\:pont-translate-x-0[data-state="unchecked"]{
|
|
23094
|
-
--tw-translate-x: 0px;
|
|
23095
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
23096
|
-
}
|
|
23097
|
-
|
|
23098
23929
|
.data-\[state\=closed\]\:pont-translate-x-toast-viewport-item-translate-x-exit[data-state="closed"]{
|
|
23099
23930
|
--tw-translate-x: var(--pont-toast-viewport-item-translate-x-exit);
|
|
23100
23931
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -23146,10 +23977,6 @@ body {
|
|
|
23146
23977
|
animation: pont-accordion-content-animate-open var(--pont-accordion-content-motion-duration-open) var(--pont-accordion-content-motion-fn-open);
|
|
23147
23978
|
}
|
|
23148
23979
|
|
|
23149
|
-
.data-\[disabled\=\"true\"\]\:pont-cursor-not-allowed[data-disabled="true"]{
|
|
23150
|
-
cursor: not-allowed;
|
|
23151
|
-
}
|
|
23152
|
-
|
|
23153
23980
|
.data-\[range-end\=true\]\:pont-bg-calendar-day-button-color-bg-range-end[data-range-end="true"]{
|
|
23154
23981
|
background-color: hsl(var(--pont-calendar-day-button-color-bg-range-end));
|
|
23155
23982
|
}
|
|
@@ -23166,22 +23993,6 @@ body {
|
|
|
23166
23993
|
background-color: hsl(var(--pont-calendar-day-button-color-bg-single-selected));
|
|
23167
23994
|
}
|
|
23168
23995
|
|
|
23169
|
-
.data-\[state\=\"checked\"\]\:pont-bg-switch-color-bg-checked[data-state="checked"]{
|
|
23170
|
-
background-color: hsl(var(--pont-switch-color-bg-checked));
|
|
23171
|
-
}
|
|
23172
|
-
|
|
23173
|
-
.data-\[state\=\"checked\"\]\:pont-bg-switch-thumb-color-bg-checked[data-state="checked"]{
|
|
23174
|
-
background-color: hsl(var(--pont-switch-thumb-color-bg-checked));
|
|
23175
|
-
}
|
|
23176
|
-
|
|
23177
|
-
.data-\[state\=\"unchecked\"\]\:pont-bg-switch-color-bg-unchecked[data-state="unchecked"]{
|
|
23178
|
-
background-color: hsl(var(--pont-switch-color-bg-unchecked));
|
|
23179
|
-
}
|
|
23180
|
-
|
|
23181
|
-
.data-\[state\=\"unchecked\"\]\:pont-bg-switch-thumb-color-bg-unchecked[data-state="unchecked"]{
|
|
23182
|
-
background-color: hsl(var(--pont-switch-thumb-color-bg-unchecked));
|
|
23183
|
-
}
|
|
23184
|
-
|
|
23185
23996
|
.data-\[state\=on\]\:pont-bg-toggle-color-bg-on[data-state="on"]{
|
|
23186
23997
|
background-color: hsl(var(--pont-toggle-color-bg-on));
|
|
23187
23998
|
}
|
|
@@ -23238,10 +24049,6 @@ body {
|
|
|
23238
24049
|
opacity: var(--pont-command-item-opacity-disabled);
|
|
23239
24050
|
}
|
|
23240
24051
|
|
|
23241
|
-
.data-\[disabled\=\"true\"\]\:pont-opacity-switch-opacity-disabled[data-disabled="true"]{
|
|
23242
|
-
opacity: var(--pont-switch-opacity-disabled);
|
|
23243
|
-
}
|
|
23244
|
-
|
|
23245
24052
|
.data-\[disabled\]\:pont-opacity-context-menu-checkbox-item-opacity-disabled[data-disabled]{
|
|
23246
24053
|
opacity: var(--pont-context-menu-checkbox-item-opacity-disabled);
|
|
23247
24054
|
}
|