@kaizen/components 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/Radio/Radio/Radio.cjs +1 -1
- package/dist/cjs/src/Radio/Radio/Radio.module.css.cjs +9 -0
- package/dist/cjs/src/Radio/RadioField/RadioField.cjs +1 -1
- package/dist/cjs/src/Radio/RadioField/RadioField.module.css.cjs +8 -0
- package/dist/cjs/src/Radio/RadioGroup/RadioGroup.cjs +1 -1
- package/dist/cjs/src/Radio/RadioGroup/RadioGroup.module.css.cjs +9 -0
- package/dist/esm/src/Radio/Radio/Radio.mjs +1 -1
- package/dist/esm/src/Radio/Radio/Radio.module.css.mjs +7 -0
- package/dist/esm/src/Radio/RadioField/RadioField.mjs +1 -1
- package/dist/esm/src/Radio/RadioField/RadioField.module.css.mjs +6 -0
- package/dist/esm/src/Radio/RadioGroup/RadioGroup.mjs +1 -1
- package/dist/esm/src/Radio/RadioGroup/RadioGroup.module.css.mjs +7 -0
- package/dist/styles.css +121 -96
- package/package.json +15 -15
- package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +2 -0
- package/src/Radio/Radio/Radio.module.css +81 -0
- package/src/Radio/Radio/Radio.tsx +1 -1
- package/src/Radio/RadioField/RadioField.module.css +37 -0
- package/src/Radio/RadioField/RadioField.tsx +1 -1
- package/src/Radio/RadioGroup/{RadioGroup.module.scss → RadioGroup.module.css} +4 -7
- package/src/Radio/RadioGroup/RadioGroup.tsx +1 -1
- package/dist/cjs/src/Radio/Radio/Radio.module.scss.cjs +0 -9
- package/dist/cjs/src/Radio/RadioField/RadioField.module.scss.cjs +0 -8
- package/dist/cjs/src/Radio/RadioGroup/RadioGroup.module.scss.cjs +0 -9
- package/dist/esm/src/Radio/Radio/Radio.module.scss.mjs +0 -7
- package/dist/esm/src/Radio/RadioField/RadioField.module.scss.mjs +0 -6
- package/dist/esm/src/Radio/RadioGroup/RadioGroup.module.scss.mjs +0 -7
- package/src/Radio/Radio/Radio.module.scss +0 -81
- package/src/Radio/RadioField/RadioField.module.scss +0 -50
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
|
-
var Radio_module = require('./Radio.module.
|
|
6
|
+
var Radio_module = require('./Radio.module.css.cjs');
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var classnames = require('classnames');
|
|
6
6
|
var Label = require('../../Label/Label.cjs');
|
|
7
7
|
var Radio = require('../Radio/Radio.cjs');
|
|
8
|
-
var RadioField_module = require('./RadioField.module.
|
|
8
|
+
var RadioField_module = require('./RadioField.module.css.cjs');
|
|
9
9
|
function _interopDefault(e) {
|
|
10
10
|
return e && e.__esModule ? e : {
|
|
11
11
|
default: e
|
|
@@ -4,7 +4,7 @@ var tslib = require('tslib');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
6
|
var Label = require('../../Label/Label.cjs');
|
|
7
|
-
var RadioGroup_module = require('./RadioGroup.module.
|
|
7
|
+
var RadioGroup_module = require('./RadioGroup.module.css.cjs');
|
|
8
8
|
function _interopDefault(e) {
|
|
9
9
|
return e && e.__esModule ? e : {
|
|
10
10
|
default: e
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var styles = {
|
|
4
|
+
"radioGroupLabel": "RadioGroup-module_radioGroupLabel__oXCV6",
|
|
5
|
+
"reversed": "RadioGroup-module_reversed__kIhwL",
|
|
6
|
+
"radioGroupContainer": "RadioGroup-module_radioGroupContainer__NUt-Z",
|
|
7
|
+
"noBottomMargin": "RadioGroup-module_noBottomMargin__YA6DY"
|
|
8
|
+
};
|
|
9
|
+
module.exports = styles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import styles from './Radio.module.
|
|
4
|
+
import styles from './Radio.module.css.mjs';
|
|
5
5
|
var renderSelected = function (selectedStatus, reversed) {
|
|
6
6
|
if (selectedStatus) {
|
|
7
7
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -3,7 +3,7 @@ import React, { useId } from 'react';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Label } from '../../Label/Label.mjs';
|
|
5
5
|
import { Radio } from '../Radio/Radio.mjs';
|
|
6
|
-
import styles from './RadioField.module.
|
|
6
|
+
import styles from './RadioField.module.css.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082092822/Radio+Field Guidance} |
|
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { useId } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Label } from '../../Label/Label.mjs';
|
|
5
|
-
import styles from './RadioGroup.module.
|
|
5
|
+
import styles from './RadioGroup.module.css.mjs';
|
|
6
6
|
const RadioGroup = /*#__PURE__*/function () {
|
|
7
7
|
const RadioGroup = function (_a) {
|
|
8
8
|
var children = _a.children,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"radioGroupLabel": "RadioGroup-module_radioGroupLabel__oXCV6",
|
|
3
|
+
"reversed": "RadioGroup-module_reversed__kIhwL",
|
|
4
|
+
"radioGroupContainer": "RadioGroup-module_radioGroupContainer__NUt-Z",
|
|
5
|
+
"noBottomMargin": "RadioGroup-module_noBottomMargin__YA6DY"
|
|
6
|
+
};
|
|
7
|
+
export { styles as default };
|
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer tokens, normalize, reset, kz-components;@layer tokens{:root{--animation-easing-function-ease-in-out:cubic-bezier(0.455,0.03,0.515,0.955);--animation-easing-function-ease-in:cubic-bezier(0.55,0.085,0.68,0.53);--animation-easing-function-ease-out:cubic-bezier(0.25,0.46,0.45,0.94);--animation-easing-function-linear:linear;--animation-easing-function-bounce-in:cubic-bezier(0.485,0.155,0.24,1.245);--animation-easing-function-bounce-out:cubic-bezier(0.485,0.155,0.515,0.845);--animation-easing-function-bounce-in-out:cubic-bezier(0.76,-0.245,0.24,1.245);--animation-duration-instant:0ms;--animation-duration-immediate:100ms;--animation-duration-rapid:200ms;--animation-duration-fast:300ms;--animation-duration-slow:400ms;--animation-duration-deliberate:700ms;--border-solid-border-width:2px;--border-solid-border-radius:7px;--border-solid-border-style:solid;--border-solid-border-color:#e1e2ea;--border-solid-border-color-rgb:225,226,234;--border-dashed-border-width:2px;--border-dashed-border-radius:7px;--border-dashed-border-style:dashed;--border-borderless-border-width:2px;--border-borderless-border-radius:7px;--border-borderless-border-style:solid;--border-borderless-border-color:transparent;--border-borderless-border-color-rgb:0,0,0;--border-focus-ring-border-width:2px;--border-focus-ring-border-radius:10px;--border-focus-ring-border-style:solid;--border-width-1:1px;--color-purple-100:#f4edf8;--color-purple-100-rgb:244,237,248;--color-purple-200:#dfc9ea;--color-purple-200-rgb:223,201,234;--color-purple-300:#c9a5dd;--color-purple-300-rgb:201,165,221;--color-purple-400:#ae67b1;--color-purple-400-rgb:174,103,177;--color-purple-500:#844587;--color-purple-500-rgb:132,69,135;--color-purple-600:#5f3361;--color-purple-600-rgb:95,51,97;--color-purple-700:#4a234d;--color-purple-700-rgb:74,35,77;--color-purple-800:#2f2438;--color-purple-800-rgb:47,36,56;--color-blue-100:#e6f6ff;--color-blue-100-rgb:230,246,255;--color-blue-200:#bde2f5;--color-blue-200-rgb:189,226,245;--color-blue-300:#73c0e8;--color-blue-300-rgb:115,192,232;--color-blue-400:#008bd6;--color-blue-400-rgb:0,139,214;--color-blue-500:#0168b3;--color-blue-500-rgb:1,104,179;--color-blue-600:#004970;--color-blue-600-rgb:0,73,112;--color-blue-700:#003157;--color-blue-700-rgb:0,49,87;--color-green-100:#e8f8f4;--color-green-100-rgb:232,248,244;--color-green-200:#c4ede2;--color-green-200-rgb:196,237,226;--color-green-300:#8fdbc7;--color-green-300-rgb:143,219,199;--color-green-400:#5dcaad;--color-green-400-rgb:93,202,173;--color-green-500:#3f9a86;--color-green-500-rgb:63,154,134;--color-green-600:#2c7d67;--color-green-600-rgb:44,125,103;--color-green-700:#22594a;--color-green-700-rgb:34,89,74;--color-yellow-100:#fff9e4;--color-yellow-100-rgb:255,249,228;--color-yellow-200:#ffeeb3;--color-yellow-200-rgb:255,238,179;--color-yellow-300:#ffe36e;--color-yellow-300-rgb:255,227,110;--color-yellow-400:#ffca4d;--color-yellow-400-rgb:255,202,77;--color-yellow-500:#ffb600;--color-yellow-500-rgb:255,182,0;--color-yellow-600:#c68600;--color-yellow-600-rgb:198,134,0;--color-yellow-700:#876400;--color-yellow-700-rgb:135,100,0;--color-red-100:#fdeaee;--color-red-100-rgb:253,234,238;--color-red-200:#f9c2cb;--color-red-200-rgb:249,194,203;--color-red-300:#f597a8;--color-red-300-rgb:245,151,168;--color-red-400:#e0707d;--color-red-400-rgb:224,112,125;--color-red-500:#c93b55;--color-red-500-rgb:201,59,85;--color-red-600:#a82433;--color-red-600-rgb:168,36,51;--color-red-700:#6c1e20;--color-red-700-rgb:108,30,32;--color-orange-100:#fff0e8;--color-orange-100-rgb:255,240,232;--color-orange-200:#ffd1b9;--color-orange-200-rgb:255,209,185;--color-orange-300:#ffb08a;--color-orange-300-rgb:255,176,138;--color-orange-400:#ff9461;--color-orange-400-rgb:255,148,97;--color-orange-500:#e96c2f;--color-orange-500-rgb:233,108,47;--color-orange-600:#b74302;--color-orange-600-rgb:183,67,2;--color-orange-700:#903c00;--color-orange-700-rgb:144,60,0;--color-gray-100:#f9f9f9;--color-gray-100-rgb:249,249,249;--color-gray-200:#f4f4f5;--color-gray-200-rgb:244,244,245;--color-gray-300:#eaeaec;--color-gray-300-rgb:234,234,236;--color-gray-400:#cdcdd0;--color-gray-400-rgb:205,205,208;--color-gray-500:#878792;--color-gray-500-rgb:135,135,146;--color-gray-600:#524e56;--color-gray-600-rgb:82,78,86;--color-white:#fff;--color-white-rgb:255,255,255;--color-black:#000;--color-black-rgb:0,0,0;--data-viz-favorable:#7dd5bd;--data-viz-favorable-rgb:125,213,189;--data-viz-unfavorable:#e68d97;--data-viz-unfavorable-rgb:230,141,151;--layout-content-max-width:1392px;--layout-content-max-width-with-sidebar:1080px;--layout-content-side-margin:72px;--layout-mobile-actions-drawer-height:60px;--layout-navigation-bar-height:72px;--layout-breakpoints-medium:768px;--layout-breakpoints-large:1080px;--shadow-small-box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 3px 16px 0 rgba(0,0,0,.06);--shadow-large-box-shadow:0 3px 9px 0 rgba(0,0,0,.1),0 8px 40px 0 rgba(0,0,0,.08);--spacing-0:0;--spacing-1:.0625rem;--spacing-2:.125rem;--spacing-4:.25rem;--spacing-6:.375rem;--spacing-8:.5rem;--spacing-12:.75rem;--spacing-16:1rem;--spacing-20:1.25rem;--spacing-24:1.5rem;--spacing-32:2rem;--spacing-40:2.5rem;--spacing-48:3rem;--spacing-56:3.5rem;--spacing-64:4rem;--spacing-72:4.5rem;--spacing-80:5rem;--spacing-96:6rem;--spacing-112:7rem;--spacing-128:8rem;--spacing-160:10rem;--spacing-200:12.5rem;--spacing-240:15rem;--spacing-280:17.5rem;--spacing-320:20rem;--spacing-xs:0.375rem;--spacing-sm:0.75rem;--spacing-md:1.5rem;--spacing-lg:2.25rem;--spacing-xl:3rem;--spacing-xxl:3.75rem;--spacing-xxxl:4.5rem;--spacing-xxxxl:5.25rem;--spacing-xxxxxl:6rem;--typography-data-large-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-font-weight:700;--typography-data-large-font-size:5.25rem;--typography-data-large-line-height:5.25rem;--typography-data-large-letter-spacing:normal;--typography-data-large-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-units-font-weight:700;--typography-data-large-units-font-size:2.625rem;--typography-data-large-units-line-height:5.25rem;--typography-data-large-units-letter-spacing:normal;--typography-data-medium-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-font-weight:700;--typography-data-medium-font-size:3rem;--typography-data-medium-line-height:5rem;--typography-data-medium-letter-spacing:normal;--typography-data-medium-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-units-font-weight:700;--typography-data-medium-units-font-size:1.5rem;--typography-data-medium-units-line-height:5rem;--typography-data-medium-units-letter-spacing:normal;--typography-data-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-font-weight:700;--typography-data-small-font-size:1.5rem;--typography-data-small-line-height:1.5rem;--typography-data-small-letter-spacing:normal;--typography-data-small-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-units-font-weight:700;--typography-data-small-units-font-size:1.125rem;--typography-data-small-units-line-height:1.5rem;--typography-data-small-units-letter-spacing:normal;--typography-display-0-font-family:"Tiempos Headline",Georgia,serif;--typography-display-0-font-weight:800;--typography-display-0-font-size:4.5rem;--typography-display-0-line-height:5.25rem;--typography-display-0-letter-spacing:0em;--typography-heading-1-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-1-font-weight:500;--typography-heading-1-font-size:2.125rem;--typography-heading-1-line-height:2.625rem;--typography-heading-1-letter-spacing:normal;--typography-heading-2-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-2-font-weight:600;--typography-heading-2-font-size:1.75rem;--typography-heading-2-line-height:2.25rem;--typography-heading-2-letter-spacing:normal;--typography-heading-3-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-3-font-weight:600;--typography-heading-3-font-size:1.375rem;--typography-heading-3-line-height:1.875rem;--typography-heading-3-letter-spacing:normal;--typography-heading-4-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-4-font-weight:600;--typography-heading-4-font-size:1.125rem;--typography-heading-4-line-height:1.5rem;--typography-heading-4-letter-spacing:normal;--typography-heading-5-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-5-font-weight:600;--typography-heading-5-font-size:1rem;--typography-heading-5-line-height:1.5rem;--typography-heading-5-letter-spacing:normal;--typography-heading-6-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-6-font-weight:600;--typography-heading-6-font-size:0.875rem;--typography-heading-6-line-height:1.5rem;--typography-heading-6-letter-spacing:normal;--typography-paragraph-intro-lede-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-intro-lede-font-weight:400;--typography-paragraph-intro-lede-font-size:1.25rem;--typography-paragraph-intro-lede-line-height:1.875rem;--typography-paragraph-intro-lede-letter-spacing:0;--typography-paragraph-intro-lede-max-width:975px;--typography-paragraph-body-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-body-font-weight:400;--typography-paragraph-body-font-size:1rem;--typography-paragraph-body-line-height:1.5rem;--typography-paragraph-body-letter-spacing:normal;--typography-paragraph-body-max-width:780px;--typography-paragraph-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-small-font-weight:400;--typography-paragraph-small-font-size:0.875rem;--typography-paragraph-small-line-height:1.125rem;--typography-paragraph-small-letter-spacing:normal;--typography-paragraph-small-max-width:680px;--typography-paragraph-extra-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-extra-small-font-weight:400;--typography-paragraph-extra-small-font-size:0.75rem;--typography-paragraph-extra-small-line-height:1.125rem;--typography-paragraph-extra-small-letter-spacing:normal;--typography-paragraph-extra-small-max-width:600px;--typography-paragraph-bold-font-weight:600;--typography-button-primary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-primary-font-weight:500;--typography-button-primary-font-size:1.125rem;--typography-button-primary-line-height:1.5rem;--typography-button-primary-letter-spacing:normal;--typography-button-secondary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-secondary-font-weight:500;--typography-button-secondary-font-size:1rem;--typography-button-secondary-line-height:1.5rem;--typography-button-secondary-letter-spacing:normal}}@layer normalize{html{text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{appearance:auto}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:auto;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}}@layer reset{@font-face{font-family:Tiempos Headline;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff)}@font-face{font-family:Tiempos Headline;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff)}@font-face{font-family:Greycliff CF;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-light.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-regular.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-medium.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-demi-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-extra-bold.woff) format("woff")}@font-face{font-family:Inter;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff)}@font-face{font-family:Inter;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff)}@font-face{font-family:Inter;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff)}@font-face{font-family:Inter;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff)}@font-face{font-family:Inter;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff)}@font-face{font-family:Inter;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff)}@font-face{font-family:IBM Plex Mono;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff)}}@layer reset{*,:after,:before{border-color:var(--border-solid-border-color,"currentColor");border-style:solid;border-width:0}body{container-type:inline-size;min-height:100vh}}
|
|
1
|
+
@layer tokens, normalize, reset, kz-components;@layer tokens{:root{--animation-easing-function-ease-in-out:cubic-bezier(0.455,0.03,0.515,0.955);--animation-easing-function-ease-in:cubic-bezier(0.55,0.085,0.68,0.53);--animation-easing-function-ease-out:cubic-bezier(0.25,0.46,0.45,0.94);--animation-easing-function-linear:linear;--animation-easing-function-bounce-in:cubic-bezier(0.485,0.155,0.24,1.245);--animation-easing-function-bounce-out:cubic-bezier(0.485,0.155,0.515,0.845);--animation-easing-function-bounce-in-out:cubic-bezier(0.76,-0.245,0.24,1.245);--animation-duration-instant:0ms;--animation-duration-immediate:100ms;--animation-duration-rapid:200ms;--animation-duration-fast:300ms;--animation-duration-slow:400ms;--animation-duration-deliberate:700ms;--border-solid-border-width:2px;--border-solid-border-radius:7px;--border-solid-border-style:solid;--border-solid-border-color:#e1e2ea;--border-solid-border-color-rgb:225,226,234;--border-dashed-border-width:2px;--border-dashed-border-radius:7px;--border-dashed-border-style:dashed;--border-borderless-border-width:2px;--border-borderless-border-radius:7px;--border-borderless-border-style:solid;--border-borderless-border-color:transparent;--border-borderless-border-color-rgb:0,0,0;--border-focus-ring-border-width:2px;--border-focus-ring-border-radius:10px;--border-focus-ring-border-style:solid;--border-width-1:1px;--color-purple-100:#f4edf8;--color-purple-100-rgb:244,237,248;--color-purple-200:#dfc9ea;--color-purple-200-rgb:223,201,234;--color-purple-300:#c9a5dd;--color-purple-300-rgb:201,165,221;--color-purple-400:#ae67b1;--color-purple-400-rgb:174,103,177;--color-purple-500:#844587;--color-purple-500-rgb:132,69,135;--color-purple-600:#5f3361;--color-purple-600-rgb:95,51,97;--color-purple-700:#4a234d;--color-purple-700-rgb:74,35,77;--color-purple-800:#2f2438;--color-purple-800-rgb:47,36,56;--color-blue-100:#e6f6ff;--color-blue-100-rgb:230,246,255;--color-blue-200:#bde2f5;--color-blue-200-rgb:189,226,245;--color-blue-300:#73c0e8;--color-blue-300-rgb:115,192,232;--color-blue-400:#008bd6;--color-blue-400-rgb:0,139,214;--color-blue-500:#0168b3;--color-blue-500-rgb:1,104,179;--color-blue-600:#004970;--color-blue-600-rgb:0,73,112;--color-blue-700:#003157;--color-blue-700-rgb:0,49,87;--color-green-100:#e8f8f4;--color-green-100-rgb:232,248,244;--color-green-200:#c4ede2;--color-green-200-rgb:196,237,226;--color-green-300:#8fdbc7;--color-green-300-rgb:143,219,199;--color-green-400:#5dcaad;--color-green-400-rgb:93,202,173;--color-green-500:#3f9a86;--color-green-500-rgb:63,154,134;--color-green-600:#2c7d67;--color-green-600-rgb:44,125,103;--color-green-700:#22594a;--color-green-700-rgb:34,89,74;--color-yellow-100:#fff9e4;--color-yellow-100-rgb:255,249,228;--color-yellow-200:#ffeeb3;--color-yellow-200-rgb:255,238,179;--color-yellow-300:#ffe36e;--color-yellow-300-rgb:255,227,110;--color-yellow-400:#ffca4d;--color-yellow-400-rgb:255,202,77;--color-yellow-500:#ffb600;--color-yellow-500-rgb:255,182,0;--color-yellow-600:#c68600;--color-yellow-600-rgb:198,134,0;--color-yellow-700:#876400;--color-yellow-700-rgb:135,100,0;--color-red-100:#fdeaee;--color-red-100-rgb:253,234,238;--color-red-200:#f9c2cb;--color-red-200-rgb:249,194,203;--color-red-300:#f597a8;--color-red-300-rgb:245,151,168;--color-red-400:#e0707d;--color-red-400-rgb:224,112,125;--color-red-500:#c93b55;--color-red-500-rgb:201,59,85;--color-red-600:#a82433;--color-red-600-rgb:168,36,51;--color-red-700:#6c1e20;--color-red-700-rgb:108,30,32;--color-orange-100:#fff0e8;--color-orange-100-rgb:255,240,232;--color-orange-200:#ffd1b9;--color-orange-200-rgb:255,209,185;--color-orange-300:#ffb08a;--color-orange-300-rgb:255,176,138;--color-orange-400:#ff9461;--color-orange-400-rgb:255,148,97;--color-orange-500:#e96c2f;--color-orange-500-rgb:233,108,47;--color-orange-600:#b74302;--color-orange-600-rgb:183,67,2;--color-orange-700:#903c00;--color-orange-700-rgb:144,60,0;--color-gray-100:#f9f9f9;--color-gray-100-rgb:249,249,249;--color-gray-200:#f4f4f5;--color-gray-200-rgb:244,244,245;--color-gray-300:#eaeaec;--color-gray-300-rgb:234,234,236;--color-gray-400:#cdcdd0;--color-gray-400-rgb:205,205,208;--color-gray-500:#878792;--color-gray-500-rgb:135,135,146;--color-gray-600:#524e56;--color-gray-600-rgb:82,78,86;--color-white:#fff;--color-white-rgb:255,255,255;--color-black:#000;--color-black-rgb:0,0,0;--data-viz-favorable:#7dd5bd;--data-viz-favorable-rgb:125,213,189;--data-viz-unfavorable:#e68d97;--data-viz-unfavorable-rgb:230,141,151;--layout-content-max-width:1392px;--layout-content-max-width-with-sidebar:1080px;--layout-content-side-margin:72px;--layout-mobile-actions-drawer-height:60px;--layout-navigation-bar-height:72px;--layout-breakpoints-medium:768px;--layout-breakpoints-large:1080px;--shadow-small-box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 3px 16px 0 rgba(0,0,0,.06);--shadow-large-box-shadow:0 3px 9px 0 rgba(0,0,0,.1),0 8px 40px 0 rgba(0,0,0,.08);--spacing-0:0;--spacing-1:.0625rem;--spacing-2:.125rem;--spacing-4:.25rem;--spacing-6:.375rem;--spacing-8:.5rem;--spacing-12:.75rem;--spacing-16:1rem;--spacing-20:1.25rem;--spacing-24:1.5rem;--spacing-32:2rem;--spacing-40:2.5rem;--spacing-48:3rem;--spacing-56:3.5rem;--spacing-64:4rem;--spacing-72:4.5rem;--spacing-80:5rem;--spacing-96:6rem;--spacing-112:7rem;--spacing-128:8rem;--spacing-160:10rem;--spacing-200:12.5rem;--spacing-240:15rem;--spacing-280:17.5rem;--spacing-320:20rem;--spacing-xs:0.375rem;--spacing-sm:0.75rem;--spacing-md:1.5rem;--spacing-lg:2.25rem;--spacing-xl:3rem;--spacing-xxl:3.75rem;--spacing-xxxl:4.5rem;--spacing-xxxxl:5.25rem;--spacing-xxxxxl:6rem;--typography-data-large-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-font-weight:700;--typography-data-large-font-size:5.25rem;--typography-data-large-line-height:5.25rem;--typography-data-large-letter-spacing:normal;--typography-data-large-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-large-units-font-weight:700;--typography-data-large-units-font-size:2.625rem;--typography-data-large-units-line-height:5.25rem;--typography-data-large-units-letter-spacing:normal;--typography-data-medium-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-font-weight:700;--typography-data-medium-font-size:3rem;--typography-data-medium-line-height:5rem;--typography-data-medium-letter-spacing:normal;--typography-data-medium-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-medium-units-font-weight:700;--typography-data-medium-units-font-size:1.5rem;--typography-data-medium-units-line-height:5rem;--typography-data-medium-units-letter-spacing:normal;--typography-data-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-font-weight:700;--typography-data-small-font-size:1.5rem;--typography-data-small-line-height:1.5rem;--typography-data-small-letter-spacing:normal;--typography-data-small-units-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-data-small-units-font-weight:700;--typography-data-small-units-font-size:1.125rem;--typography-data-small-units-line-height:1.5rem;--typography-data-small-units-letter-spacing:normal;--typography-display-0-font-family:"Tiempos Headline",Georgia,serif;--typography-display-0-font-weight:800;--typography-display-0-font-size:4.5rem;--typography-display-0-line-height:5.25rem;--typography-display-0-letter-spacing:0em;--typography-heading-1-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-1-font-weight:500;--typography-heading-1-font-size:2.125rem;--typography-heading-1-line-height:2.625rem;--typography-heading-1-letter-spacing:normal;--typography-heading-2-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-2-font-weight:600;--typography-heading-2-font-size:1.75rem;--typography-heading-2-line-height:2.25rem;--typography-heading-2-letter-spacing:normal;--typography-heading-3-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-3-font-weight:600;--typography-heading-3-font-size:1.375rem;--typography-heading-3-line-height:1.875rem;--typography-heading-3-letter-spacing:normal;--typography-heading-4-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-4-font-weight:600;--typography-heading-4-font-size:1.125rem;--typography-heading-4-line-height:1.5rem;--typography-heading-4-letter-spacing:normal;--typography-heading-5-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-5-font-weight:600;--typography-heading-5-font-size:1rem;--typography-heading-5-line-height:1.5rem;--typography-heading-5-letter-spacing:normal;--typography-heading-6-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-heading-6-font-weight:600;--typography-heading-6-font-size:0.875rem;--typography-heading-6-line-height:1.5rem;--typography-heading-6-letter-spacing:normal;--typography-paragraph-intro-lede-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-intro-lede-font-weight:400;--typography-paragraph-intro-lede-font-size:1.25rem;--typography-paragraph-intro-lede-line-height:1.875rem;--typography-paragraph-intro-lede-letter-spacing:0;--typography-paragraph-intro-lede-max-width:975px;--typography-paragraph-body-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-body-font-weight:400;--typography-paragraph-body-font-size:1rem;--typography-paragraph-body-line-height:1.5rem;--typography-paragraph-body-letter-spacing:normal;--typography-paragraph-body-max-width:780px;--typography-paragraph-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-small-font-weight:400;--typography-paragraph-small-font-size:0.875rem;--typography-paragraph-small-line-height:1.125rem;--typography-paragraph-small-letter-spacing:normal;--typography-paragraph-small-max-width:680px;--typography-paragraph-extra-small-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-paragraph-extra-small-font-weight:400;--typography-paragraph-extra-small-font-size:0.75rem;--typography-paragraph-extra-small-line-height:1.125rem;--typography-paragraph-extra-small-letter-spacing:normal;--typography-paragraph-extra-small-max-width:600px;--typography-paragraph-bold-font-weight:600;--typography-button-primary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-primary-font-weight:500;--typography-button-primary-font-size:1.125rem;--typography-button-primary-line-height:1.5rem;--typography-button-primary-letter-spacing:normal;--typography-button-secondary-font-family:"Inter","Noto Sans",Helvetica,Arial,sans-serif;--typography-button-secondary-font-weight:500;--typography-button-secondary-font-size:1rem;--typography-button-secondary-line-height:1.5rem;--typography-button-secondary-letter-spacing:normal}}@layer normalize{html{text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{appearance:auto}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:auto;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}}@layer reset{@font-face{font-family:Tiempos Headline;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff)}@font-face{font-family:Tiempos Headline;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-medium.woff)}@font-face{font-family:Greycliff CF;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-light.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-regular.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-medium.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-demi-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-bold.woff) format("woff")}@font-face{font-family:Greycliff CF;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/greycliff/greycliff-cf-extra-bold.woff) format("woff")}@font-face{font-family:Inter;font-weight:300;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-light.woff)}@font-face{font-family:Inter;font-weight:400;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff)}@font-face{font-family:Inter;font-weight:500;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff)}@font-face{font-family:Inter;font-weight:600;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff)}@font-face{font-family:Inter;font-weight:700;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff)}@font-face{font-family:Inter;font-weight:800;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-extra-bold.woff)}@font-face{font-family:IBM Plex Mono;src:url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff2),url(https://d1e7r7b0lb8p4d.cloudfront.net/fonts/ibm-plex-mono/ibm-plex-mono-regular.woff)}}@layer reset{*,:after,:before{border-color:var(--border-solid-border-color,"currentColor");border-style:solid;border-width:0}body{container-type:inline-size;min-height:100vh}}html:has(body[data-scroll-locked]){overflow:hidden}
|
|
2
2
|
@layer kz-components {
|
|
3
3
|
/*
|
|
4
4
|
* This is taken from the Material Symbols CDN
|
|
@@ -7172,6 +7172,7 @@
|
|
|
7172
7172
|
}
|
|
7173
7173
|
.Checkbox-module_selected__-Nd6E {
|
|
7174
7174
|
background: var(--color-gray-500, #878792);
|
|
7175
|
+
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
|
|
7175
7176
|
background-color: var(--color-gray-500, #878792);
|
|
7176
7177
|
}
|
|
7177
7178
|
.Checkbox-module_selected__-Nd6E:hover, .Checkbox-module_selected__-Nd6E:focus-within {
|
|
@@ -7737,129 +7738,153 @@
|
|
|
7737
7738
|
transform: translateX(200%);
|
|
7738
7739
|
}
|
|
7739
7740
|
}
|
|
7740
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7741
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7742
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7743
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7744
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7745
|
-
/* stylelint-disable selector-no-vendor-prefix */
|
|
7746
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7747
7741
|
@layer kz-components {
|
|
7748
|
-
.Radio-
|
|
7749
|
-
opacity: 0
|
|
7750
|
-
position: absolute;
|
|
7751
|
-
}
|
|
7752
|
-
.ideal-sans .Radio-module_radioInput__-zPUZ {
|
|
7742
|
+
.Radio-module_radioInput__CV0iT {
|
|
7743
|
+
opacity: 0;
|
|
7753
7744
|
position: absolute;
|
|
7745
|
+
|
|
7746
|
+
.ideal-sans & {
|
|
7747
|
+
/* This is to override bootstrap styles. Remove when appropriate */
|
|
7748
|
+
position: absolute;
|
|
7749
|
+
}
|
|
7754
7750
|
}
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7751
|
+
|
|
7752
|
+
.Radio-module_icon__3vrS- {
|
|
7753
|
+
--icon-size: 10px;
|
|
7754
|
+
--icon-offset: 5px;
|
|
7755
|
+
|
|
7756
|
+
top: var(--icon-offset);
|
|
7757
|
+
left: var(--icon-offset);
|
|
7758
|
+
width: var(--icon-size);
|
|
7759
|
+
height: var(--icon-size);
|
|
7760
7760
|
border-radius: 50%;
|
|
7761
|
-
background: var(--color-gray-600
|
|
7761
|
+
background: var(--color-gray-600);
|
|
7762
7762
|
position: absolute;
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7763
|
+
|
|
7764
|
+
&.Radio-module_reversed__Z69Qv {
|
|
7765
|
+
background: var(--color-white);
|
|
7766
|
+
}
|
|
7767
|
+
|
|
7768
|
+
@media (forced-colors: active) {
|
|
7769
|
+
/*
|
|
7770
|
+
High contrast mode with remove the background color so we have to use border to create the selected icon state.
|
|
7771
|
+
Transparent is used so the user defined colors for borders will be used here
|
|
7772
|
+
*/
|
|
7773
|
+
border: var(--icon-offset) solid transparent;
|
|
7770
7774
|
width: 0;
|
|
7771
7775
|
height: 0;
|
|
7772
7776
|
}
|
|
7773
7777
|
}
|
|
7774
|
-
|
|
7778
|
+
|
|
7779
|
+
.Radio-module_box__y2luI {
|
|
7780
|
+
--radio-size: 24px;
|
|
7781
|
+
--focus-ring-offset: 2px;
|
|
7782
|
+
|
|
7775
7783
|
display: block;
|
|
7776
7784
|
position: relative;
|
|
7777
|
-
background: var(--color-white
|
|
7778
|
-
height:
|
|
7779
|
-
width:
|
|
7785
|
+
background: var(--color-white);
|
|
7786
|
+
height: var(--radio-size);
|
|
7787
|
+
width: var(--radio-size);
|
|
7780
7788
|
top: 0;
|
|
7781
|
-
border: var(--border-solid-border-width
|
|
7789
|
+
border: var(--border-solid-border-width) var(--border-solid-border-style) var(--color-gray-500);
|
|
7782
7790
|
box-sizing: border-box;
|
|
7783
7791
|
border-radius: 50%;
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7792
|
+
|
|
7793
|
+
.Radio-module_radioInput__CV0iT:focus:not([disabled]) + & {
|
|
7794
|
+
border-color: var(--color-gray-600);
|
|
7795
|
+
outline: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style)
|
|
7796
|
+
var(--color-blue-500);
|
|
7797
|
+
outline-offset: 1px;
|
|
7798
|
+
}
|
|
7799
|
+
|
|
7800
|
+
.Radio-module_radioInput__CV0iT:not([disabled]) + &:hover {
|
|
7801
|
+
border-color: var(--color-gray-600);
|
|
7802
|
+
background-color: var(--color-gray-200);
|
|
7803
|
+
}
|
|
7804
|
+
|
|
7805
|
+
&.Radio-module_reversed__Z69Qv {
|
|
7806
|
+
border: var(--border-solid-border-width) var(--border-solid-border-style)
|
|
7807
|
+
rgb(var(--color-white-rgb), 0.65);
|
|
7808
|
+
background: transparent;
|
|
7809
|
+
|
|
7810
|
+
.Radio-module_radioInput__CV0iT:focus:not([disabled]) + & {
|
|
7811
|
+
border-color: var(--color-white);
|
|
7812
|
+
outline-color: var(--color-blue-300);
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
.Radio-module_radioInput__CV0iT:not([disabled]) + &:hover {
|
|
7816
|
+
border-color: var(--color-white);
|
|
7817
|
+
background-color: transparent;
|
|
7818
|
+
}
|
|
7819
|
+
}
|
|
7805
7820
|
}
|
|
7806
7821
|
}
|
|
7807
|
-
|
|
7808
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7809
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7810
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7822
|
+
|
|
7811
7823
|
@layer kz-components {
|
|
7812
|
-
.RadioField-
|
|
7824
|
+
.RadioField-module_container__UjnNJ {
|
|
7813
7825
|
position: relative;
|
|
7814
7826
|
overflow-wrap: anywhere;
|
|
7815
7827
|
word-break: normal;
|
|
7816
|
-
margin-bottom: var(--spacing-sm
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7828
|
+
margin-bottom: var(--spacing-sm);
|
|
7829
|
+
|
|
7830
|
+
label {
|
|
7831
|
+
-webkit-tap-highlight-color: transparent;
|
|
7832
|
+
|
|
7833
|
+
.ideal-sans & {
|
|
7834
|
+
/* This is to override bootstrap styles. Remove when appropriate */
|
|
7835
|
+
font-size: var(--typography-paragraph-body-font-size);
|
|
7836
|
+
padding-top: 0;
|
|
7837
|
+
}
|
|
7838
|
+
}
|
|
7839
|
+
|
|
7840
|
+
&.RadioField-module_selected__VAgZ9 label {
|
|
7841
|
+
font-family: var(--typography-paragraph-body-font-family);
|
|
7842
|
+
font-size: var(--typography-paragraph-body-font-size);
|
|
7843
|
+
line-height: var(--typography-paragraph-body-line-height);
|
|
7844
|
+
letter-spacing: var(--typography-paragraph-body-letter-spacing);
|
|
7845
|
+
font-weight: var(--typography-paragraph-bold-font-weight);
|
|
7846
|
+
position: static;
|
|
7847
|
+
}
|
|
7848
|
+
|
|
7849
|
+
&:not(.RadioField-module_reversed__atjfz) label:hover input:not([disabled]) + span {
|
|
7850
|
+
border-color: var(--color-gray-600);
|
|
7851
|
+
background-color: var(--color-gray-200);
|
|
7852
|
+
}
|
|
7853
|
+
|
|
7854
|
+
&.RadioField-module_reversed__atjfz label:hover input:not([disabled]) + span {
|
|
7855
|
+
border-color: var(--color-white);
|
|
7856
|
+
background-color: transparent;
|
|
7857
|
+
}
|
|
7840
7858
|
}
|
|
7841
7859
|
}
|
|
7842
|
-
|
|
7843
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7860
|
+
|
|
7844
7861
|
@layer kz-components {
|
|
7845
|
-
.RadioGroup-
|
|
7846
|
-
margin-bottom: var(--spacing-sm
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7862
|
+
.RadioGroup-module_radioGroupLabel__oXCV6 {
|
|
7863
|
+
margin-bottom: var(--spacing-sm);
|
|
7864
|
+
|
|
7865
|
+
label {
|
|
7866
|
+
.ideal-sans & {
|
|
7867
|
+
/* This is to override bootstrap styles. Remove when appropriate */
|
|
7868
|
+
padding-top: 0;
|
|
7869
|
+
}
|
|
7870
|
+
}
|
|
7871
|
+
|
|
7872
|
+
&.RadioGroup-module_reversed__kIhwL {
|
|
7873
|
+
color: var(--color-white);
|
|
7874
|
+
}
|
|
7853
7875
|
}
|
|
7854
|
-
|
|
7876
|
+
|
|
7877
|
+
.RadioGroup-module_radioGroupContainer__NUt-Z {
|
|
7855
7878
|
display: flex;
|
|
7856
7879
|
flex-direction: column;
|
|
7857
|
-
margin-bottom: var(--spacing-sm
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7880
|
+
margin-bottom: var(--spacing-sm);
|
|
7881
|
+
|
|
7882
|
+
&.RadioGroup-module_noBottomMargin__YA6DY {
|
|
7883
|
+
margin-bottom: 0;
|
|
7884
|
+
}
|
|
7861
7885
|
}
|
|
7862
7886
|
}
|
|
7887
|
+
|
|
7863
7888
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7864
7889
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
7865
7890
|
/** THIS IS AN AUTOGENERATED FILE **/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"kaizen-codemod": "./bin/codemod.sh"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@floating-ui/react-dom": "^2.1.
|
|
80
|
+
"@floating-ui/react-dom": "^2.1.7",
|
|
81
81
|
"@headlessui/react": "^2.2.9",
|
|
82
82
|
"@internationalized/date": "^3.8.2",
|
|
83
83
|
"@popperjs/core": "^2.11.8",
|
|
@@ -110,19 +110,19 @@
|
|
|
110
110
|
"prosemirror-schema-basic": "^1.2.4",
|
|
111
111
|
"prosemirror-schema-list": "^1.5.1",
|
|
112
112
|
"prosemirror-state": "^1.4.4",
|
|
113
|
-
"prosemirror-transform": "^1.
|
|
113
|
+
"prosemirror-transform": "^1.11.0",
|
|
114
114
|
"prosemirror-utils": "^1.2.2",
|
|
115
|
-
"prosemirror-view": "^1.41.
|
|
115
|
+
"prosemirror-view": "^1.41.6",
|
|
116
116
|
"react-animate-height": "^3.2.3",
|
|
117
117
|
"react-aria": "^3.41.1",
|
|
118
118
|
"react-aria-components": "^1.10.1",
|
|
119
119
|
"react-day-picker": "9.6.7",
|
|
120
|
-
"react-focus-lock": "^2.13.
|
|
121
|
-
"react-focus-on": "^3.10.
|
|
120
|
+
"react-focus-lock": "^2.13.7",
|
|
121
|
+
"react-focus-on": "^3.10.1",
|
|
122
122
|
"react-popper": "^2.3.0",
|
|
123
123
|
"react-select": "^5.10.2",
|
|
124
124
|
"react-textfit": "^1.1.1",
|
|
125
|
-
"use-debounce": "^10.0
|
|
125
|
+
"use-debounce": "^10.1.0",
|
|
126
126
|
"uuid": "^13.0.0"
|
|
127
127
|
},
|
|
128
128
|
"dependenciesComments": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
132
|
"@cultureamp/frontend-apis": "13.3.0",
|
|
133
|
-
"@cultureamp/i18n-react-intl": "^2.15.
|
|
133
|
+
"@cultureamp/i18n-react-intl": "^2.15.1",
|
|
134
134
|
"@cultureamp/package-bundler": "^2.4.4",
|
|
135
135
|
"@testing-library/dom": "^10.4.1",
|
|
136
136
|
"@types/jest-axe": "^3.5.9",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"@types/react-highlight": "^0.12.8",
|
|
139
139
|
"@types/react-textfit": "^1.1.4",
|
|
140
140
|
"@types/uuid": "^11.0.0",
|
|
141
|
-
"autoprefixer": "^10.4.
|
|
141
|
+
"autoprefixer": "^10.4.27",
|
|
142
142
|
"concat-cli": "^4.0.0",
|
|
143
143
|
"identity-obj-proxy": "^3.0.0",
|
|
144
144
|
"jest-axe": "^10.0.0",
|
|
@@ -147,21 +147,21 @@
|
|
|
147
147
|
"postcss": "^8.5.6",
|
|
148
148
|
"postcss-cli": "^11.0.1",
|
|
149
149
|
"postcss-import": "^16.1.1",
|
|
150
|
-
"postcss-preset-env": "^
|
|
150
|
+
"postcss-preset-env": "^11.2.0",
|
|
151
151
|
"postcss-scss": "^4.0.9",
|
|
152
152
|
"query-string": "^9.3.1",
|
|
153
|
-
"react": "^19.2.
|
|
154
|
-
"react-dom": "^19.2.
|
|
153
|
+
"react": "^19.2.4",
|
|
154
|
+
"react-dom": "^19.2.4",
|
|
155
155
|
"react-highlight": "^0.15.0",
|
|
156
156
|
"react-intl": "^7.1.14",
|
|
157
|
-
"rollup": "^4.
|
|
157
|
+
"rollup": "^4.59.0",
|
|
158
158
|
"sass": "1.79.6",
|
|
159
159
|
"serialize-query-params": "^2.0.4",
|
|
160
160
|
"svgo": "^4.0.0",
|
|
161
161
|
"ts-patch": "^3.3.0",
|
|
162
162
|
"tslib": "^2.8.1",
|
|
163
|
-
"tsx": "^4.
|
|
164
|
-
"@kaizen/design-tokens": "11.0.
|
|
163
|
+
"tsx": "^4.21.0",
|
|
164
|
+
"@kaizen/design-tokens": "11.0.1"
|
|
165
165
|
},
|
|
166
166
|
"devDependenciesComments": {
|
|
167
167
|
"sass": "Prevent deprecation warnings introduced in 1.80 as we plan to move away from sass",
|
|
@@ -44,6 +44,8 @@
|
|
|
44
44
|
// Selected = Checked or Indeterminate
|
|
45
45
|
.selected {
|
|
46
46
|
background: $color-gray-500;
|
|
47
|
+
// To do: fix this in the CSS uplift
|
|
48
|
+
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
|
|
47
49
|
background-color: $color-gray-500;
|
|
48
50
|
|
|
49
51
|
&:hover,
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.radioInput {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
position: absolute;
|
|
5
|
+
|
|
6
|
+
:global(.ideal-sans) & {
|
|
7
|
+
/* This is to override bootstrap styles. Remove when appropriate */
|
|
8
|
+
position: absolute;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.icon {
|
|
13
|
+
--icon-size: 10px;
|
|
14
|
+
--icon-offset: 5px;
|
|
15
|
+
|
|
16
|
+
top: var(--icon-offset);
|
|
17
|
+
left: var(--icon-offset);
|
|
18
|
+
width: var(--icon-size);
|
|
19
|
+
height: var(--icon-size);
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
background: var(--color-gray-600);
|
|
22
|
+
position: absolute;
|
|
23
|
+
|
|
24
|
+
&.reversed {
|
|
25
|
+
background: var(--color-white);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@media (forced-colors: active) {
|
|
29
|
+
/*
|
|
30
|
+
High contrast mode with remove the background color so we have to use border to create the selected icon state.
|
|
31
|
+
Transparent is used so the user defined colors for borders will be used here
|
|
32
|
+
*/
|
|
33
|
+
border: var(--icon-offset) solid transparent;
|
|
34
|
+
width: 0;
|
|
35
|
+
height: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.box {
|
|
40
|
+
--radio-size: 24px;
|
|
41
|
+
--focus-ring-offset: 2px;
|
|
42
|
+
|
|
43
|
+
display: block;
|
|
44
|
+
position: relative;
|
|
45
|
+
background: var(--color-white);
|
|
46
|
+
height: var(--radio-size);
|
|
47
|
+
width: var(--radio-size);
|
|
48
|
+
top: 0;
|
|
49
|
+
border: var(--border-solid-border-width) var(--border-solid-border-style) var(--color-gray-500);
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
border-radius: 50%;
|
|
52
|
+
|
|
53
|
+
.radioInput:focus:not([disabled]) + & {
|
|
54
|
+
border-color: var(--color-gray-600);
|
|
55
|
+
outline: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style)
|
|
56
|
+
var(--color-blue-500);
|
|
57
|
+
outline-offset: 1px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.radioInput:not([disabled]) + &:hover {
|
|
61
|
+
border-color: var(--color-gray-600);
|
|
62
|
+
background-color: var(--color-gray-200);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.reversed {
|
|
66
|
+
border: var(--border-solid-border-width) var(--border-solid-border-style)
|
|
67
|
+
rgb(var(--color-white-rgb), 0.65);
|
|
68
|
+
background: transparent;
|
|
69
|
+
|
|
70
|
+
.radioInput:focus:not([disabled]) + & {
|
|
71
|
+
border-color: var(--color-white);
|
|
72
|
+
outline-color: var(--color-blue-300);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.radioInput:not([disabled]) + &:hover {
|
|
76
|
+
border-color: var(--color-white);
|
|
77
|
+
background-color: transparent;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type InputHTMLAttributes } from 'react'
|
|
2
2
|
import classnames from 'classnames'
|
|
3
3
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
4
|
-
import styles from './Radio.module.
|
|
4
|
+
import styles from './Radio.module.css'
|
|
5
5
|
|
|
6
6
|
export type RadioProps = OverrideClassName<
|
|
7
7
|
Omit<InputHTMLAttributes<HTMLInputElement>, 'id' | 'name' | 'value' | 'checked' | 'type'>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@layer kz-components {
|
|
2
|
+
.container {
|
|
3
|
+
position: relative;
|
|
4
|
+
overflow-wrap: anywhere;
|
|
5
|
+
word-break: normal;
|
|
6
|
+
margin-bottom: var(--spacing-sm);
|
|
7
|
+
|
|
8
|
+
label {
|
|
9
|
+
-webkit-tap-highlight-color: transparent;
|
|
10
|
+
|
|
11
|
+
:global(.ideal-sans) & {
|
|
12
|
+
/* This is to override bootstrap styles. Remove when appropriate */
|
|
13
|
+
font-size: var(--typography-paragraph-body-font-size);
|
|
14
|
+
padding-top: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.selected label {
|
|
19
|
+
font-family: var(--typography-paragraph-body-font-family);
|
|
20
|
+
font-size: var(--typography-paragraph-body-font-size);
|
|
21
|
+
line-height: var(--typography-paragraph-body-line-height);
|
|
22
|
+
letter-spacing: var(--typography-paragraph-body-letter-spacing);
|
|
23
|
+
font-weight: var(--typography-paragraph-bold-font-weight);
|
|
24
|
+
position: static;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:not(.reversed) label:hover input:not([disabled]) + span {
|
|
28
|
+
border-color: var(--color-gray-600);
|
|
29
|
+
background-color: var(--color-gray-200);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.reversed label:hover input:not([disabled]) + span {
|
|
33
|
+
border-color: var(--color-white);
|
|
34
|
+
background-color: transparent;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -2,7 +2,7 @@ import React, { useId } from 'react'
|
|
|
2
2
|
import classnames from 'classnames'
|
|
3
3
|
import { Label } from '~components/Label'
|
|
4
4
|
import { Radio, type RadioProps } from '../Radio/Radio'
|
|
5
|
-
import styles from './RadioField.module.
|
|
5
|
+
import styles from './RadioField.module.css'
|
|
6
6
|
|
|
7
7
|
export type RadioFieldProps = Omit<RadioProps, 'id'> & {
|
|
8
8
|
'id'?: string
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
@import '~@kaizen/design-tokens/sass/color';
|
|
2
|
-
@import '~@kaizen/design-tokens/sass/spacing';
|
|
3
|
-
|
|
4
1
|
@layer kz-components {
|
|
5
2
|
.radioGroupLabel {
|
|
6
|
-
margin-bottom:
|
|
3
|
+
margin-bottom: var(--spacing-sm);
|
|
7
4
|
|
|
8
5
|
label {
|
|
9
6
|
:global(.ideal-sans) & {
|
|
10
|
-
|
|
7
|
+
/* This is to override bootstrap styles. Remove when appropriate */
|
|
11
8
|
padding-top: 0;
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
&.reversed {
|
|
16
|
-
color:
|
|
13
|
+
color: var(--color-white);
|
|
17
14
|
}
|
|
18
15
|
}
|
|
19
16
|
|
|
20
17
|
.radioGroupContainer {
|
|
21
18
|
display: flex;
|
|
22
19
|
flex-direction: column;
|
|
23
|
-
margin-bottom:
|
|
20
|
+
margin-bottom: var(--spacing-sm);
|
|
24
21
|
|
|
25
22
|
&.noBottomMargin {
|
|
26
23
|
margin-bottom: 0;
|
|
@@ -2,7 +2,7 @@ import React, { useId, type HTMLAttributes } from 'react'
|
|
|
2
2
|
import classnames from 'classnames'
|
|
3
3
|
import { Label } from '~components/Label'
|
|
4
4
|
import { type OverrideClassName } from '~components/types/OverrideClassName'
|
|
5
|
-
import styles from './RadioGroup.module.
|
|
5
|
+
import styles from './RadioGroup.module.css'
|
|
6
6
|
|
|
7
7
|
export type RadioGroupProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & {
|
|
8
8
|
'children'?: React.ReactNode
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var styles = {
|
|
4
|
-
"radioGroupLabel": "RadioGroup-module_radioGroupLabel__wIl4z",
|
|
5
|
-
"reversed": "RadioGroup-module_reversed__VeBun",
|
|
6
|
-
"radioGroupContainer": "RadioGroup-module_radioGroupContainer__NKWpt",
|
|
7
|
-
"noBottomMargin": "RadioGroup-module_noBottomMargin__VKF2T"
|
|
8
|
-
};
|
|
9
|
-
module.exports = styles;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var styles = {
|
|
2
|
-
"radioGroupLabel": "RadioGroup-module_radioGroupLabel__wIl4z",
|
|
3
|
-
"reversed": "RadioGroup-module_reversed__VeBun",
|
|
4
|
-
"radioGroupContainer": "RadioGroup-module_radioGroupContainer__NKWpt",
|
|
5
|
-
"noBottomMargin": "RadioGroup-module_noBottomMargin__VKF2T"
|
|
6
|
-
};
|
|
7
|
-
export { styles as default };
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
@import '~@kaizen/design-tokens/sass/border';
|
|
2
|
-
@import '~@kaizen/design-tokens/sass/color';
|
|
3
|
-
@import '../../../styles/utils/forms';
|
|
4
|
-
@import '../../../styles/utils/form-variables';
|
|
5
|
-
|
|
6
|
-
@layer kz-components {
|
|
7
|
-
$radio-size: 24px;
|
|
8
|
-
$icon-size: 10px;
|
|
9
|
-
$icon-offset: 5px;
|
|
10
|
-
$focus-ring-offset: 2px;
|
|
11
|
-
|
|
12
|
-
$dt-color-radio-background-color-hover: $color-gray-200;
|
|
13
|
-
$dt-color-radio-disc-color-base: $color-gray-600;
|
|
14
|
-
$dt-color-radio-border-color-focus: $color-blue-500;
|
|
15
|
-
$dt-color-radio-border-color-focus-reversed: $color-blue-300;
|
|
16
|
-
|
|
17
|
-
.radioInput {
|
|
18
|
-
@include form-input-visually-hidden;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.icon {
|
|
22
|
-
top: $icon-offset;
|
|
23
|
-
left: $icon-offset;
|
|
24
|
-
width: $icon-size;
|
|
25
|
-
height: $icon-size;
|
|
26
|
-
border-radius: 50%;
|
|
27
|
-
background: $dt-color-radio-disc-color-base;
|
|
28
|
-
position: absolute;
|
|
29
|
-
|
|
30
|
-
&.reversed {
|
|
31
|
-
background: $color-white;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media (forced-colors: active) {
|
|
35
|
-
// High contrast mode with remove the background color so we have to use border to create the selected icon state.
|
|
36
|
-
// Transparent is used so the user defined colors for borders will be used here
|
|
37
|
-
border: $icon-offset solid transparent;
|
|
38
|
-
width: 0;
|
|
39
|
-
height: 0;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.box {
|
|
44
|
-
display: block;
|
|
45
|
-
position: relative;
|
|
46
|
-
background: $color-white;
|
|
47
|
-
height: $radio-size;
|
|
48
|
-
width: $radio-size;
|
|
49
|
-
top: 0;
|
|
50
|
-
border: $border-solid-border-width $border-solid-border-style $dt-color-form-border-color;
|
|
51
|
-
box-sizing: border-box;
|
|
52
|
-
border-radius: 50%;
|
|
53
|
-
|
|
54
|
-
.radioInput:focus:not([disabled]) + & {
|
|
55
|
-
border-color: $dt-color-radio-disc-color-base;
|
|
56
|
-
outline: var(--border-focus-ring-border-width) var(--border-focus-ring-border-style)
|
|
57
|
-
var(--color-blue-500);
|
|
58
|
-
outline-offset: 1px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.radioInput:not([disabled]) + &:hover {
|
|
62
|
-
border-color: $dt-color-form-border-color-hover;
|
|
63
|
-
background-color: $dt-color-radio-background-color-hover;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.reversed {
|
|
67
|
-
border: $border-solid-border-width $border-solid-border-style rgba($color-white-rgb, 0.65);
|
|
68
|
-
background: transparent;
|
|
69
|
-
|
|
70
|
-
.radioInput:focus:not([disabled]) + & {
|
|
71
|
-
border-color: $color-white;
|
|
72
|
-
outline-color: $dt-color-radio-border-color-focus-reversed;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.radioInput:not([disabled]) + &:hover {
|
|
76
|
-
border-color: $color-white;
|
|
77
|
-
background-color: transparent;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
@import '~@kaizen/design-tokens/sass/color';
|
|
2
|
-
@import '~@kaizen/design-tokens/sass/spacing';
|
|
3
|
-
@import '~@kaizen/design-tokens/sass/typography';
|
|
4
|
-
@import '../../../styles/utils/form-variables';
|
|
5
|
-
|
|
6
|
-
@layer kz-components {
|
|
7
|
-
$dt-color-radio-background-color-hover: $color-gray-200;
|
|
8
|
-
|
|
9
|
-
.container {
|
|
10
|
-
position: relative;
|
|
11
|
-
overflow-wrap: anywhere;
|
|
12
|
-
word-break: normal;
|
|
13
|
-
margin-bottom: $spacing-sm;
|
|
14
|
-
|
|
15
|
-
label {
|
|
16
|
-
-webkit-tap-highlight-color: transparent;
|
|
17
|
-
|
|
18
|
-
:global(.ideal-sans) & {
|
|
19
|
-
// This is to override bootstrap styles. Remove when appropriate
|
|
20
|
-
font-size: $typography-paragraph-body-font-size;
|
|
21
|
-
padding-top: 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.selected {
|
|
26
|
-
label {
|
|
27
|
-
font-family: $typography-paragraph-body-font-family;
|
|
28
|
-
font-size: $typography-paragraph-body-font-size;
|
|
29
|
-
line-height: $typography-paragraph-body-line-height;
|
|
30
|
-
letter-spacing: $typography-paragraph-body-letter-spacing;
|
|
31
|
-
font-weight: $typography-paragraph-bold-font-weight;
|
|
32
|
-
position: static;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:not(.reversed) label:hover {
|
|
37
|
-
input:not([disabled]) + span {
|
|
38
|
-
border-color: $dt-color-form-border-color-hover;
|
|
39
|
-
background-color: $dt-color-radio-background-color-hover;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.reversed label:hover {
|
|
44
|
-
input:not([disabled]) + span {
|
|
45
|
-
border-color: $color-white;
|
|
46
|
-
background-color: transparent;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|