period-ui 0.5.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/radio-button/radio-button-group/radio-button-group-types.d.ts +1 -1
- package/dist/components/atoms/radio-button/radio-button-group/radio-button-group-types.d.ts.map +1 -1
- package/dist/components/atoms/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/atoms/radio-button/radio-button-group/radio-button-group.js +40 -14
- package/dist/components/atoms/radio-button/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/atoms/radio-button/radio-button.d.ts +6 -3
- package/dist/components/atoms/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/atoms/radio-button/radio-button.js +10 -8
- package/dist/components/atoms/radio-button/radio-button.js.map +1 -1
- package/dist/fonts/Geist-Variable.woff2 +0 -0
- package/dist/fonts/GeistMono-Variable.woff2 +0 -0
- package/dist/index.css +8 -126
- package/dist/index.css.map +1 -1
- package/dist/index.mjs +4439 -4413
- package/package.json +1 -1
- package/dist/fonts/Geist-Black.otf +0 -0
- package/dist/fonts/Geist-Bold.otf +0 -0
- package/dist/fonts/Geist-ExtraBold.otf +0 -0
- package/dist/fonts/Geist-ExtraLight.otf +0 -0
- package/dist/fonts/Geist-Light.otf +0 -0
- package/dist/fonts/Geist-Medium.otf +0 -0
- package/dist/fonts/Geist-Mono-Black.woff2 +0 -0
- package/dist/fonts/Geist-Mono-Bold.woff2 +0 -0
- package/dist/fonts/Geist-Mono-ExtraBold.woff2 +0 -0
- package/dist/fonts/Geist-Mono-ExtraLight.woff2 +0 -0
- package/dist/fonts/Geist-Mono-Light.woff2 +0 -0
- package/dist/fonts/Geist-Mono-Medium.woff2 +0 -0
- package/dist/fonts/Geist-Mono-Regular.woff2 +0 -0
- package/dist/fonts/Geist-Mono-SemiBold.woff2 +0 -0
- package/dist/fonts/Geist-Mono-Thin.woff2 +0 -0
- package/dist/fonts/Geist-Regular.otf +0 -0
- package/dist/fonts/Geist-SemiBold.otf +0 -0
- package/dist/fonts/Geist-Thin.otf +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { MultiOptions } from '../../../../types/general';
|
|
2
2
|
import { RadioButtonProps } from '../radio-button';
|
|
3
|
-
export type RadioButtonMultiOptions = MultiOptions & Omit<RadioButtonProps, '
|
|
3
|
+
export type RadioButtonMultiOptions = MultiOptions & Omit<RadioButtonProps, 'isSelected' | 'tabIndex' | 'onKeyDown'>;
|
|
4
4
|
//# sourceMappingURL=radio-button-group-types.d.ts.map
|
package/dist/components/atoms/radio-button/radio-button-group/radio-button-group-types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-group-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/radio-button/radio-button-group/radio-button-group-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,MAAM,uBAAuB,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"radio-button-group-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/radio-button/radio-button-group/radio-button-group-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAChD,IAAI,CAAC,gBAAgB,EAAE,YAAY,GAAG,UAAU,GAAG,WAAW,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/radio-button/radio-button-group/radio-button-group.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-button-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/radio-button/radio-button-group/radio-button-group.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAMrE,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,uBAAuB,EAAE,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,WAAW,EACX,QAAQ,GACT,EAAE,qBAAqB,2CAuFvB"}
|
|
@@ -2,29 +2,55 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RadioButtonGroup = RadioButtonGroup;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
5
6
|
const __1 = require("../");
|
|
6
7
|
const tailwind_utils_1 = require("../../../../utils/tailwind-utils");
|
|
8
|
+
const PREVIOUS_KEYS = ['ArrowUp', 'ArrowLeft'];
|
|
9
|
+
const NEXT_KEYS = ['ArrowDown', 'ArrowRight'];
|
|
7
10
|
function RadioButtonGroup({ id, data, className, selectedData, isUnselectable, ariaLabelledBy, ariaDescribedBy, ariaInvalid, onSelect, }) {
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
const radioButtonRefs = (0, react_1.useRef)([]);
|
|
12
|
+
const selectedIndex = data.findIndex((option) => !option.isDisabled && option.value === selectedData);
|
|
13
|
+
const firstEnabledIndex = data.findIndex((option) => !option.isDisabled);
|
|
14
|
+
const focusableIndex = selectedIndex >= 0 ? selectedIndex : firstEnabledIndex;
|
|
15
|
+
function findEnabledIndex(fromIndex, direction) {
|
|
16
|
+
for (let step = 1; step <= data.length; step += 1) {
|
|
17
|
+
const offset = (fromIndex + direction * step) % data.length;
|
|
18
|
+
const candidate = (offset + data.length) % data.length;
|
|
19
|
+
if (candidate !== fromIndex && !data[candidate].isDisabled) {
|
|
20
|
+
return candidate;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return -1;
|
|
24
|
+
}
|
|
25
|
+
function handleSelect(index) {
|
|
26
|
+
const option = data[index];
|
|
27
|
+
if (!option || option.isDisabled) {
|
|
10
28
|
return;
|
|
11
|
-
|
|
29
|
+
}
|
|
30
|
+
if (isUnselectable && option.value === selectedData) {
|
|
12
31
|
onSelect(undefined);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
onSelect(option.value);
|
|
35
|
+
}
|
|
36
|
+
option.onSelect?.();
|
|
37
|
+
}
|
|
38
|
+
function handleKeyDown(event, index) {
|
|
39
|
+
const isPrevious = PREVIOUS_KEYS.includes(event.key);
|
|
40
|
+
const isNext = NEXT_KEYS.includes(event.key);
|
|
41
|
+
if (!isPrevious && !isNext) {
|
|
13
42
|
return;
|
|
14
43
|
}
|
|
15
|
-
|
|
16
|
-
|
|
44
|
+
event.preventDefault();
|
|
45
|
+
const nextIndex = findEnabledIndex(index, isPrevious ? -1 : 1);
|
|
46
|
+
if (nextIndex < 0) {
|
|
17
47
|
return;
|
|
18
48
|
}
|
|
19
|
-
|
|
49
|
+
radioButtonRefs.current[nextIndex]?.focus();
|
|
50
|
+
handleSelect(nextIndex);
|
|
20
51
|
}
|
|
21
|
-
return ((0, jsx_runtime_1.jsx)("div", { id: id, role: "
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return ((0, jsx_runtime_1.jsx)(__1.RadioButton, { onSelect: () => {
|
|
25
|
-
onChange(!isSelected, object);
|
|
26
|
-
onSelect?.(!isSelected);
|
|
27
|
-
}, label: label, labelClassName: labelClassName, containerClassName: containerClassName, value: isSelected, isDisabled: isDisabled, className: (0, tailwind_utils_1.tailwind)('mb-[24px]', data.length - 1 === key && 'mb-0') }, key));
|
|
28
|
-
}) }));
|
|
52
|
+
return ((0, jsx_runtime_1.jsx)("div", { id: id, role: "radiogroup", "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid || undefined, className: (0, tailwind_utils_1.tailwind)('space-y-2', className), children: data.map((option, index) => ((0, jsx_runtime_1.jsx)(__1.RadioButton, { ref: (element) => {
|
|
53
|
+
radioButtonRefs.current[index] = element;
|
|
54
|
+
}, label: option.label, className: option.className, labelClassName: option.labelClassName, containerClassName: option.containerClassName, radioButtonClassName: option.radioButtonClassName, isSelected: option.value === selectedData, isDisabled: option.isDisabled, tabIndex: index === focusableIndex ? 0 : -1, onKeyDown: (event) => handleKeyDown(event, index), onSelect: () => handleSelect(index) }, option.value))) }));
|
|
29
55
|
}
|
|
30
56
|
//# sourceMappingURL=radio-button-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-group.js","sourceRoot":"","sources":["../../../../../src/components/atoms/radio-button/radio-button-group/radio-button-group.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"radio-button-group.js","sourceRoot":"","sources":["../../../../../src/components/atoms/radio-button/radio-button-group/radio-button-group.tsx"],"names":[],"mappings":";;AAoBA,4CAiGC;;AArHD,iCAA8C;AAC9C,2BAAkC;AAElC,qEAA4D;AAE5D,MAAM,aAAa,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAC/C,MAAM,SAAS,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAc9C,SAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,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,EACD,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,SAAS,EAAE,MAAM,CAAC,SAAS,EAC3B,cAAc,EAAE,MAAM,CAAC,cAAc,EACrC,kBAAkB,EAAE,MAAM,CAAC,kBAAkB,EAC7C,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,EACjD,UAAU,EAAE,MAAM,CAAC,KAAK,KAAK,YAAY,EACzC,UAAU,EAAE,MAAM,CAAC,UAAU,EAC7B,QAAQ,EAAE,KAAK,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC3C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,EACjD,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,IAb9B,MAAM,CAAC,KAAK,CAcjB,CACH,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
1
2
|
export type RadioButtonProps = {
|
|
2
3
|
label?: string;
|
|
3
|
-
|
|
4
|
+
isSelected: boolean;
|
|
4
5
|
isDisabled?: boolean;
|
|
5
6
|
className?: string;
|
|
6
7
|
labelClassName?: string;
|
|
7
8
|
containerClassName?: string;
|
|
8
9
|
radioButtonClassName?: string;
|
|
9
|
-
|
|
10
|
+
tabIndex?: number;
|
|
11
|
+
onKeyDown?: ComponentProps<'button'>['onKeyDown'];
|
|
12
|
+
onSelect?: () => void;
|
|
10
13
|
};
|
|
11
|
-
export declare
|
|
14
|
+
export declare const RadioButton: import("react").ForwardRefExoticComponent<RadioButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
12
15
|
//# sourceMappingURL=radio-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-button/radio-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/radio-button/radio-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,OAAO,CAAC;AAI1D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,gHAwEtB,CAAC"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RadioButton =
|
|
3
|
+
exports.RadioButton = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
5
6
|
const components_1 = require("../../../components");
|
|
6
7
|
const tailwind_utils_1 = require("../../../utils/tailwind-utils");
|
|
7
|
-
function RadioButton({ label, className,
|
|
8
|
-
const
|
|
8
|
+
exports.RadioButton = (0, react_1.forwardRef)(function RadioButton({ label, className, isSelected = false, isDisabled = false, labelClassName, containerClassName, radioButtonClassName, tabIndex, onKeyDown, onSelect, }, forwardedRef) {
|
|
9
|
+
const labelId = (0, react_1.useId)();
|
|
10
|
+
function handleClick() {
|
|
9
11
|
if (isDisabled) {
|
|
10
12
|
return;
|
|
11
13
|
}
|
|
12
|
-
onSelect?.(
|
|
13
|
-
}
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-col', isDisabled ? 'cursor-not-allowed' : 'cursor-pointer', className), onClick: handleClick, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-row w-fit items-center', containerClassName), children: [(0, jsx_runtime_1.jsx)("button", { role: "radio
|
|
15
|
-
'border-
|
|
16
|
-
}
|
|
14
|
+
onSelect?.();
|
|
15
|
+
}
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-col py-2', isDisabled ? 'cursor-not-allowed' : 'cursor-pointer', className), onClick: handleClick, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-row w-fit items-center', containerClassName), children: [(0, jsx_runtime_1.jsx)("button", { ref: forwardedRef, role: "radio", type: "button", "aria-checked": isSelected, "aria-labelledby": label ? labelId : undefined, disabled: isDisabled, tabIndex: tabIndex, onKeyDown: onKeyDown, className: (0, tailwind_utils_1.tailwind)('flex justify-center items-center md:h-[20px] md:w-[20px] h-[18px] w-[18px] border-2 rounded-full cursor-pointer shrink-0', 'border-gray-04 bg-white', 'hover:bg-gray-05', 'disabled:cursor-not-allowed disabled:border-gray-05 disabled:bg-white', 'focus-visible:outline-none focus-visible:border-white focus-visible:ring-2 focus-visible:ring-blue-01', isSelected &&
|
|
17
|
+
'border-blue-01 bg-blue-01 hover:border-blue-02 hover:bg-blue-02 disabled:border-blue-03 disabled:bg-blue-03', radioButtonClassName), children: isSelected && ((0, jsx_runtime_1.jsx)("div", { className: "bg-white rounded-full md:w-[10px] md:h-[10px] w-[9px] h-[9px]" })) }), label && ((0, jsx_runtime_1.jsx)(components_1.Text, { id: labelId, variant: components_1.TextVariant.BODY, className: (0, tailwind_utils_1.tailwind)('ml-2 select-none whitespace-normal', labelClassName), color: isDisabled ? components_1.TextColors.BLACK_03 : components_1.TextColors.BLACK, children: label }))] }) }));
|
|
18
|
+
});
|
|
17
19
|
//# sourceMappingURL=radio-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.js","sourceRoot":"","sources":["../../../../src/components/atoms/radio-button/radio-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio-button.js","sourceRoot":"","sources":["../../../../src/components/atoms/radio-button/radio-button.tsx"],"names":[],"mappings":";;;;AAAA,iCAA0D;AAC1D,oDAAoE;AACpE,kEAAyD;AAe5C,QAAA,WAAW,GAAG,IAAA,kBAAU,EAAsC,SAAS,WAAW,CAC7F,EACE,KAAK,EACL,SAAS,EACT,UAAU,GAAG,KAAK,EAClB,UAAU,GAAG,KAAK,EAClB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EACD,YAAY;IAEZ,MAAM,OAAO,GAAG,IAAA,aAAK,GAAE,CAAC;IAExB,SAAS,WAAW;QAClB,IAAI,UAAU,EAAE,CAAC;YACf,OAAO;QACT,CAAC;QAED,QAAQ,EAAE,EAAE,CAAC;IACf,CAAC;IAED,OAAO,CACL,gCACE,SAAS,EAAE,IAAA,yBAAQ,EACjB,oBAAoB,EACpB,UAAU,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,gBAAgB,EACpD,SAAS,CACV,EACD,OAAO,EAAE,WAAW,YAEpB,iCAAK,SAAS,EAAE,IAAA,yBAAQ,EAAC,kCAAkC,EAAE,kBAAkB,CAAC,aAC9E,mCACE,GAAG,EAAE,YAAY,EACjB,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,QAAQ,kBACC,UAAU,qBACP,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EAC5C,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,IAAA,yBAAQ,EACjB,0HAA0H,EAC1H,yBAAyB,EACzB,kBAAkB,EAClB,uEAAuE,EACvE,uGAAuG,EACvG,UAAU;wBACR,6GAA6G,EAC/G,oBAAoB,CACrB,YAEA,UAAU,IAAI,CACb,gCAAK,SAAS,EAAC,+DAA+D,GAAG,CAClF,GACM,EACR,KAAK,IAAI,CACR,uBAAC,iBAAI,IACH,EAAE,EAAE,OAAO,EACX,OAAO,EAAE,wBAAW,CAAC,IAAI,EACzB,SAAS,EAAE,IAAA,yBAAQ,EAAC,oCAAoC,EAAE,cAAc,CAAC,EACzE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,uBAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAU,CAAC,KAAK,YAEzD,KAAK,GACD,CACR,IACG,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
Binary file
|
|
Binary file
|
package/dist/index.css
CHANGED
|
@@ -1,141 +1,23 @@
|
|
|
1
1
|
@import 'react-day-picker/style.css';
|
|
2
|
-
/* Regular font */
|
|
3
2
|
@font-face {
|
|
4
3
|
font-family: "Geist";
|
|
5
|
-
src: url("
|
|
6
|
-
font-weight:
|
|
7
|
-
font-style: normal;
|
|
8
|
-
}
|
|
9
|
-
/* Regular digits */
|
|
10
|
-
@font-face {
|
|
11
|
-
font-family: "Geist";
|
|
12
|
-
src: url("/fonts/Geist-Mono-Regular.woff2") format("woff2");
|
|
13
|
-
font-weight: normal;
|
|
14
|
-
font-style: normal;
|
|
15
|
-
unicode-range: U+0030-0039;
|
|
16
|
-
}
|
|
17
|
-
/* Bold font */
|
|
18
|
-
@font-face {
|
|
19
|
-
font-family: "Geist";
|
|
20
|
-
src: url("/fonts/Geist-Bold.otf") format("opentype");
|
|
21
|
-
font-weight: bold;
|
|
22
|
-
font-style: normal;
|
|
23
|
-
}
|
|
24
|
-
/* Bold digits */
|
|
25
|
-
@font-face {
|
|
26
|
-
font-family: "Geist";
|
|
27
|
-
src: url("/fonts/Geist-Mono-Bold.woff2") format("woff2");
|
|
28
|
-
font-weight: bold;
|
|
29
|
-
font-style: normal;
|
|
30
|
-
unicode-range: U+0030-0039;
|
|
31
|
-
}
|
|
32
|
-
/* SemiBold font */
|
|
33
|
-
@font-face {
|
|
34
|
-
font-family: "Geist";
|
|
35
|
-
src: url("/fonts/Geist-SemiBold.otf") format("opentype");
|
|
36
|
-
font-weight: 600;
|
|
37
|
-
font-style: normal;
|
|
38
|
-
}
|
|
39
|
-
/* SemiBold digits */
|
|
40
|
-
@font-face {
|
|
41
|
-
font-family: "Geist";
|
|
42
|
-
src: url("/fonts/Geist-Mono-SemiBold.woff2") format("woff2");
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
font-style: normal;
|
|
45
|
-
unicode-range: U+0030-0039;
|
|
46
|
-
}
|
|
47
|
-
/* Black font */
|
|
48
|
-
@font-face {
|
|
49
|
-
font-family: "Geist";
|
|
50
|
-
src: url("/fonts/Geist-Black.otf") format("opentype");
|
|
51
|
-
font-weight: 900;
|
|
52
|
-
font-style: normal;
|
|
53
|
-
}
|
|
54
|
-
/* Black digits */
|
|
55
|
-
@font-face {
|
|
56
|
-
font-family: "Geist";
|
|
57
|
-
src: url("/fonts/Geist-Mono-Black.woff2") format("woff2");
|
|
58
|
-
font-weight: 900;
|
|
59
|
-
font-style: normal;
|
|
60
|
-
unicode-range: U+0030-0039;
|
|
61
|
-
}
|
|
62
|
-
/* ExtraBold font */
|
|
63
|
-
@font-face {
|
|
64
|
-
font-family: "Geist";
|
|
65
|
-
src: url("/fonts/Geist-ExtraBold.otf") format("opentype");
|
|
66
|
-
font-weight: 800;
|
|
67
|
-
font-style: normal;
|
|
68
|
-
}
|
|
69
|
-
/* ExtraBold digits */
|
|
70
|
-
@font-face {
|
|
71
|
-
font-family: "Geist";
|
|
72
|
-
src: url("/fonts/Geist-Mono-ExtraBold.woff2") format("woff2");
|
|
73
|
-
font-weight: 800;
|
|
74
|
-
font-style: normal;
|
|
75
|
-
unicode-range: U+0030-0039;
|
|
76
|
-
}
|
|
77
|
-
/* Light font */
|
|
78
|
-
@font-face {
|
|
79
|
-
font-family: "Geist";
|
|
80
|
-
src: url("/fonts/Geist-Light.otf") format("opentype");
|
|
81
|
-
font-weight: 300;
|
|
82
|
-
font-style: normal;
|
|
83
|
-
}
|
|
84
|
-
/* Light digits */
|
|
85
|
-
@font-face {
|
|
86
|
-
font-family: "Geist";
|
|
87
|
-
src: url("/fonts/Geist-Mono-Light.woff2") format("woff2");
|
|
88
|
-
font-weight: 300;
|
|
89
|
-
font-style: normal;
|
|
90
|
-
unicode-range: U+0030-0039;
|
|
91
|
-
}
|
|
92
|
-
/* ExtraLight font */
|
|
93
|
-
@font-face {
|
|
94
|
-
font-family: "Geist";
|
|
95
|
-
src: url("/fonts/Geist-ExtraLight.otf") format("opentype");
|
|
96
|
-
font-weight: 200;
|
|
97
|
-
font-style: normal;
|
|
98
|
-
}
|
|
99
|
-
/* ExtraLight digits */
|
|
100
|
-
@font-face {
|
|
101
|
-
font-family: "Geist";
|
|
102
|
-
src: url("/fonts/Geist-Mono-ExtraLight.woff2") format("woff2");
|
|
103
|
-
font-weight: 200;
|
|
104
|
-
font-style: normal;
|
|
105
|
-
unicode-range: U+0030-0039;
|
|
106
|
-
}
|
|
107
|
-
/* Medium font */
|
|
108
|
-
@font-face {
|
|
109
|
-
font-family: "Geist";
|
|
110
|
-
src: url("/fonts/Geist-Medium.otf") format("opentype");
|
|
111
|
-
font-weight: 500;
|
|
112
|
-
font-style: normal;
|
|
113
|
-
}
|
|
114
|
-
/* Medium digits */
|
|
115
|
-
@font-face {
|
|
116
|
-
font-family: "Geist";
|
|
117
|
-
src: url("/fonts/Geist-Mono-Medium.woff2") format("woff2");
|
|
118
|
-
font-weight: 500;
|
|
119
|
-
font-style: normal;
|
|
120
|
-
unicode-range: U+0030-0039;
|
|
121
|
-
}
|
|
122
|
-
/* Thin font */
|
|
123
|
-
@font-face {
|
|
124
|
-
font-family: "Geist";
|
|
125
|
-
src: url("/fonts/Geist-Thin.otf") format("opentype");
|
|
126
|
-
font-weight: 100;
|
|
4
|
+
src: url("./fonts/Geist-Variable.woff2") format("woff2");
|
|
5
|
+
font-weight: 100 900;
|
|
127
6
|
font-style: normal;
|
|
7
|
+
font-display: swap;
|
|
128
8
|
}
|
|
129
|
-
/* Thin digits */
|
|
130
9
|
@font-face {
|
|
131
10
|
font-family: "Geist";
|
|
132
|
-
src: url("
|
|
133
|
-
font-weight: 100;
|
|
11
|
+
src: url("./fonts/GeistMono-Variable.woff2") format("woff2");
|
|
12
|
+
font-weight: 100 900;
|
|
134
13
|
font-style: normal;
|
|
14
|
+
font-display: swap;
|
|
135
15
|
unicode-range: U+0030-0039;
|
|
136
16
|
}
|
|
137
17
|
.font-geist {
|
|
138
18
|
font-family: "Geist", sans-serif !important;
|
|
19
|
+
font-feature-settings: "liga" 1, "ss08" 1;
|
|
20
|
+
font-kerning: none;
|
|
139
21
|
}
|
|
140
22
|
|
|
141
23
|
@tailwind base;
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../src/styles/_preamble.scss","../src/styles/settings/_icons.scss","../src/styles/settings/_scroll.scss","../src/styles/components/_progress-indicator.scss","../src/styles/components/_signature.scss"],"names":[],"mappings":"AAAQ;AAER;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/styles/_preamble.scss","../src/styles/settings/_icons.scss","../src/styles/settings/_scroll.scss","../src/styles/components/_progress-indicator.scss","../src/styles/components/_signature.scss"],"names":[],"mappings":"AAAQ;AAER;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA,uBACE;EAEF;;;AAGF;AACA;AACA;AC1BA;EACE;EACA;EACA;EAMA;EACA;EACA;;AAGF;AAAA;AAEE;EACA;EACA;EACA;EACA;EACA;AAEA;EACA;EACA;;;AAgHE;EACE,SA9GE;;;AA6GJ;EACE,SA9GE;;;AA6GJ;EACE,SA9GE;;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