softable-pixels-web 1.2.36 → 1.2.37
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/{Breadcrumb--lRHi6sr.js → Breadcrumb-BjO7RVR0.js} +2 -2
- package/dist/{Breadcrumb--lRHi6sr.js.map → Breadcrumb-BjO7RVR0.js.map} +1 -1
- package/dist/{Button-QcKlQyM3.js → Button-CWZvWbMh.js} +2 -2
- package/dist/{Button-QcKlQyM3.js.map → Button-CWZvWbMh.js.map} +1 -1
- package/dist/{CheckItem-C2NriXyN.js → CheckItem-CE27veSs.js} +2 -2
- package/dist/{CheckItem-C2NriXyN.js.map → CheckItem-CE27veSs.js.map} +1 -1
- package/dist/{Checkbox-qoUWy3Nj.js → Checkbox-DWlmddP3.js} +2 -2
- package/dist/{Checkbox-qoUWy3Nj.js.map → Checkbox-DWlmddP3.js.map} +1 -1
- package/dist/{Chip-DJVwuXlv.js → Chip-0yO5bwim.js} +2 -2
- package/dist/{Chip-DJVwuXlv.js.map → Chip-0yO5bwim.js.map} +1 -1
- package/dist/{ChipList-D7J-hTLW.js → ChipList-CmO2ctak.js} +3 -3
- package/dist/{ChipList-D7J-hTLW.js.map → ChipList-CmO2ctak.js.map} +1 -1
- package/dist/{ColorPicker-sqs31Md7.js → ColorPicker-BBTuW0Bp.js} +2 -2
- package/dist/{ColorPicker-sqs31Md7.js.map → ColorPicker-BBTuW0Bp.js.map} +1 -1
- package/dist/{ContextMenu-CrVwvqGG.js → ContextMenu-_72bEVKL.js} +3 -3
- package/dist/{ContextMenu-CrVwvqGG.js.map → ContextMenu-_72bEVKL.js.map} +1 -1
- package/dist/{DatePicker-0xnJwcp2.js → DatePicker-znH0ZAdX.js} +4 -4
- package/dist/{DatePicker-0xnJwcp2.js.map → DatePicker-znH0ZAdX.js.map} +1 -1
- package/dist/{FileInput-CfUBqmTu.js → FileInput-BXK9H8Ar.js} +3 -3
- package/dist/{FileInput-CfUBqmTu.js.map → FileInput-BXK9H8Ar.js.map} +1 -1
- package/dist/{InfoSummary-B6k4_vpG.js → InfoSummary-D8x-t44q.js} +2 -2
- package/dist/{InfoSummary-B6k4_vpG.js.map → InfoSummary-D8x-t44q.js.map} +1 -1
- package/dist/{Input-BLnysNxN.js → Input-BbQajtvC.js} +2 -2
- package/dist/{Input-BLnysNxN.js.map → Input-BbQajtvC.js.map} +1 -1
- package/dist/{Label-VE3hoSbt.js → Label-CBUa-x13.js} +2 -2
- package/dist/{Label-VE3hoSbt.js.map → Label-CBUa-x13.js.map} +1 -1
- package/dist/{Pagination-DV4VUQj_.js → Pagination-i2_x464D.js} +3 -3
- package/dist/{Pagination-DV4VUQj_.js.map → Pagination-i2_x464D.js.map} +1 -1
- package/dist/{SearchInput-vI-WcTPT.js → SearchInput-zePMheJK.js} +2 -2
- package/dist/{SearchInput-vI-WcTPT.js.map → SearchInput-zePMheJK.js.map} +1 -1
- package/dist/{Select-ChVwX-7Z.js → Select-CTEWtbKT.js} +4 -4
- package/dist/{Select-ChVwX-7Z.js.map → Select-CTEWtbKT.js.map} +1 -1
- package/dist/{Switch-DlZXMyGG.js → Switch-D3Eitmnj.js} +2 -2
- package/dist/{Switch-DlZXMyGG.js.map → Switch-D3Eitmnj.js.map} +1 -1
- package/dist/{TabSwitch-Co6kaDbi.js → TabSwitch-UPXOZTf4.js} +2 -2
- package/dist/{TabSwitch-Co6kaDbi.js.map → TabSwitch-UPXOZTf4.js.map} +1 -1
- package/dist/{TextArea-s6HdNSc5.js → TextArea-BMJWFF3y.js} +3 -3
- package/dist/{TextArea-s6HdNSc5.js.map → TextArea-BMJWFF3y.js.map} +1 -1
- package/dist/{Typography-u0BPHgCr.js → Typography-CcQTHV-F.js} +3 -3
- package/dist/Typography-CcQTHV-F.js.map +1 -0
- package/dist/breadcrumb.js +2 -2
- package/dist/button.js +2 -2
- package/dist/check-item.js +2 -2
- package/dist/checkbox.js +2 -2
- package/dist/chip-list.js +4 -4
- package/dist/chip.js +2 -2
- package/dist/color-picker.js +3 -3
- package/dist/context-menu.js +3 -3
- package/dist/date-picker.js +4 -4
- package/dist/file-input.js +3 -3
- package/dist/{index-BBmC9Lfb.d.ts → index-BQRzf4rc.d.ts} +3 -3
- package/dist/{index-j6W-PwB7.d.ts → index-BmFKokpv.d.ts} +2 -2
- package/dist/{index-Q90gI7Q2.d.ts → index-BxDK_Go8.d.ts} +4 -4
- package/dist/{index-qPJuO65u.d.ts → index-C22JJ_rW.d.ts} +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +20 -20
- package/dist/info-summary.js +2 -2
- package/dist/input.d.ts +1 -1
- package/dist/input.js +3 -3
- package/dist/pagination.js +3 -3
- package/dist/searchInput.js +3 -3
- package/dist/select.d.ts +1 -1
- package/dist/select.js +4 -4
- package/dist/switch.js +2 -2
- package/dist/tab-switch.d.ts +1 -1
- package/dist/tab-switch.js +2 -2
- package/dist/text-area.d.ts +1 -1
- package/dist/text-area.js +3 -3
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/dist/Typography-u0BPHgCr.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea-
|
|
1
|
+
{"version":3,"file":"TextArea-BMJWFF3y.js","names":["value"],"sources":["../src/components/commons/inputs/TextArea/styles.ts","../src/components/commons/inputs/TextArea/index.tsx"],"sourcesContent":["// Types\nimport { styled } from '@hooks/useThemedStyles/types'\nimport type { TextAreaProps } from './types'\n\nexport function createTextAreaStyles(props: TextAreaProps) {\n const { height = '8rem', readOnly } = props\n\n return styled({\n container: {\n width: '100%',\n\n display: 'flex',\n flexDirection: 'column',\n\n rowGap: '0.375rem'\n },\n iconContainer: {\n position: 'absolute',\n left: '0.75rem',\n top: '1.375rem',\n transform: 'translateY(-50%)'\n },\n textArea: {\n height,\n width: '100%',\n paddingBlock: '0.75rem',\n paddingInline: '0.875rem',\n borderWidth: 1,\n borderRadius: '0.5rem',\n resize: 'none',\n\n fontWeight: '400',\n fontSize: '1rem',\n color: 'var(--px-text-primary)',\n\n borderColor: props.errorMessage\n ? 'var(--px-color-error)'\n : 'var(--px-border-primary)',\n outlineOffset: '-1px',\n\n cursor: readOnly ? 'default' : undefined,\n\n __rules: {\n '&::placeholder': {\n fontWeight: 400,\n color: 'var(--px-text-secondary)'\n },\n\n '&:focus-within': {\n outlineOffset: '-1px',\n outline: `2px solid var(${props.errorMessage ? '--px-color-error' : '--px-color-primary'})`\n }\n }\n }\n })\n}\n","// External Libraries\nimport { useId, useRef, useState } from 'react'\n\n// Types\nimport type { TextAreaProps } from './types'\n\n// Components\nimport { Label } from '@components/commons/toolkit/Label'\nimport { Typography } from '@components/commons/toolkit/Typography'\nimport { ErrorMessage } from '@components/commons/toolkit/ErrorMessage'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Styles\nimport { createTextAreaStyles } from './styles'\n\nexport const TextArea = (props: TextAreaProps) => {\n const {\n value,\n delay,\n disabled,\n readOnly,\n maxLength,\n hideMaxLength,\n textMaxLength,\n placeholder,\n errorMessage,\n\n label,\n required,\n requiredColor,\n labelConfig,\n onChange\n } = props\n\n // Refs\n const timeoutRef = useRef<NodeJS.Timeout>(null)\n\n // States\n const [inputValue, setInputValue] = useState(value)\n\n // Hooks\n const inputId = useId()\n\n const { styles, classes } = useThemedStyles(props, createTextAreaStyles, {\n pick: p => [p.height, p.readOnly, p.placeholderColor, p.focusedRingColor],\n override: props.styles,\n applyCommonProps: true\n })\n\n // Functions\n function handleChange(e: React.ChangeEvent<HTMLTextAreaElement>) {\n if (disabled || readOnly) return\n\n const value = e.target.value\n\n setInputValue(value)\n\n if (timeoutRef.current) clearTimeout(timeoutRef.current)\n\n if (!delay) onChange?.(value)\n else {\n timeoutRef.current = setTimeout(() => onChange?.(value), delay)\n }\n }\n\n function renderLabel() {\n if (!label) return null\n\n return (\n <div>\n <Label\n label={label}\n htmlFor={inputId}\n required={required}\n requiredColor={requiredColor}\n {...labelConfig}\n />\n </div>\n )\n }\n\n return (\n <div style={styles.container}>\n {renderLabel()}\n\n <textarea\n value={inputValue}\n disabled={disabled}\n readOnly={readOnly}\n maxLength={maxLength}\n placeholder={placeholder}\n style={styles.textArea}\n className={classes.textArea}\n onChange={handleChange}\n />\n\n {maxLength && !hideMaxLength ? (\n <Typography variant=\"b2\" styles={{ text: { marginLeft: 'auto' } }}>\n {value?.length}/{maxLength} {textMaxLength}\n </Typography>\n ) : null}\n\n {errorMessage ? <ErrorMessage message={errorMessage} /> : null}\n </div>\n )\n}\n"],"mappings":";;;;;;;;AAIA,SAAgB,qBAAqB,OAAsB;CACzD,MAAM,EAAE,SAAS,QAAQ,aAAa;AAEtC,QAAO,OAAO;EACZ,WAAW;GACT,OAAO;GAEP,SAAS;GACT,eAAe;GAEf,QAAQ;GACT;EACD,eAAe;GACb,UAAU;GACV,MAAM;GACN,KAAK;GACL,WAAW;GACZ;EACD,UAAU;GACR;GACA,OAAO;GACP,cAAc;GACd,eAAe;GACf,aAAa;GACb,cAAc;GACd,QAAQ;GAER,YAAY;GACZ,UAAU;GACV,OAAO;GAEP,aAAa,MAAM,eACf,0BACA;GACJ,eAAe;GAEf,QAAQ,WAAW,YAAY;GAE/B,SAAS;IACP,kBAAkB;KAChB,YAAY;KACZ,OAAO;KACR;IAED,kBAAkB;KAChB,eAAe;KACf,SAAS,iBAAiB,MAAM,eAAe,qBAAqB,qBAAqB;KAC1F;IACF;GACF;EACF,CAAC;;;;;ACrCJ,MAAa,YAAY,UAAyB;CAChD,MAAM,EACJ,OACA,OACA,UACA,UACA,WACA,eACA,eACA,aACA,cAEA,OACA,UACA,eACA,aACA,aACE;CAGJ,MAAM,aAAa,OAAuB,KAAK;CAG/C,MAAM,CAAC,YAAY,iBAAiB,SAAS,MAAM;CAGnD,MAAM,UAAU,OAAO;CAEvB,MAAM,EAAE,QAAQ,YAAY,gBAAgB,OAAO,sBAAsB;EACvE,OAAM,MAAK;GAAC,EAAE;GAAQ,EAAE;GAAU,EAAE;GAAkB,EAAE;GAAiB;EACzE,UAAU,MAAM;EAChB,kBAAkB;EACnB,CAAC;CAGF,SAAS,aAAa,GAA2C;AAC/D,MAAI,YAAY,SAAU;EAE1B,MAAMA,UAAQ,EAAE,OAAO;AAEvB,gBAAcA,QAAM;AAEpB,MAAI,WAAW,QAAS,cAAa,WAAW,QAAQ;AAExD,MAAI,CAAC,MAAO,YAAWA,QAAM;MAE3B,YAAW,UAAU,iBAAiB,WAAWA,QAAM,EAAE,MAAM;;CAInE,SAAS,cAAc;AACrB,MAAI,CAAC,MAAO,QAAO;AAEnB,SACE,oBAAC,mBACC,oBAAC;GACQ;GACP,SAAS;GACC;GACK;GACf,GAAI;IACJ,GACE;;AAIV,QACE,qBAAC;EAAI,OAAO,OAAO;;GAChB,aAAa;GAEd,oBAAC;IACC,OAAO;IACG;IACA;IACC;IACE;IACb,OAAO,OAAO;IACd,WAAW,QAAQ;IACnB,UAAU;KACV;GAED,aAAa,CAAC,gBACb,qBAAC;IAAW,SAAQ;IAAK,QAAQ,EAAE,MAAM,EAAE,YAAY,QAAQ,EAAE;;KAC9D,OAAO;KAAO;KAAE;KAAU;KAAE;;KAClB,GACX;GAEH,eAAe,oBAAC,gBAAa,SAAS,eAAgB,GAAG;;GACtD"}
|
|
@@ -16,8 +16,8 @@ const secondaryColor = "var(--px-text-secondary)";
|
|
|
16
16
|
const typographyVariants = {
|
|
17
17
|
h1: {
|
|
18
18
|
fontSize: "3rem",
|
|
19
|
-
fontWeight:
|
|
20
|
-
lineHeight:
|
|
19
|
+
fontWeight: WEIGHTS.bold,
|
|
20
|
+
lineHeight: "1",
|
|
21
21
|
color: primaryColor
|
|
22
22
|
},
|
|
23
23
|
h2: {
|
|
@@ -172,4 +172,4 @@ const Typography = (props) => {
|
|
|
172
172
|
|
|
173
173
|
//#endregion
|
|
174
174
|
export { Typography as t };
|
|
175
|
-
//# sourceMappingURL=Typography-
|
|
175
|
+
//# sourceMappingURL=Typography-CcQTHV-F.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typography-CcQTHV-F.js","names":["typographyVariants: Record<TypographyVariant, SlotStyle>","variantToElement: Record<\n TypographyVariant,\n keyof JSX.IntrinsicElements\n>","alignText: Record<TextAlign, SlotStyle>","Typography: React.FC<TypographyProps>"],"sources":["../src/components/commons/toolkit/Typography/utils.ts","../src/components/commons/toolkit/Typography/config.ts","../src/components/commons/toolkit/Typography/style.ts","../src/components/commons/toolkit/Typography/index.tsx"],"sourcesContent":["export function getPlaceholder(content: React.ReactNode, size: number) {\n const contentSize = typeof content === 'string' ? content.length : 0\n const finalSize = Math.max(contentSize, size)\n\n if (finalSize === 0) return ''\n\n return '*'.repeat(finalSize)\n}\n","// External Libraries\nimport type { JSX } from 'react'\n\n// Types\nimport type { TextAlign, TypographyVariant } from './types'\nimport { type SlotStyle, WEIGHTS } from '@hooks/useThemedStyles/types'\n\nconst primaryColor = 'var(--px-text-primary)'\nconst secondaryColor = 'var(--px-text-secondary)'\n\nexport const typographyVariants: Record<TypographyVariant, SlotStyle> = {\n h1: {\n fontSize: '3rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: '1',\n color: primaryColor\n },\n h2: {\n fontSize: '2.25rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(2.5 / 2.25)',\n color: primaryColor\n },\n h3: {\n fontSize: '1.875rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(2.25 / 1.875)',\n color: primaryColor\n },\n h4: {\n fontSize: '1.5rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(2 / 1.5)',\n color: primaryColor\n },\n h5: {\n fontSize: '1.25rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(1.75 / 1.25)',\n color: primaryColor\n },\n b1: {\n fontSize: '1rem',\n fontWeight: WEIGHTS.medium,\n lineHeight: '1.5',\n color: primaryColor\n },\n b2: {\n fontSize: '0.875rem',\n fontWeight: WEIGHTS.medium,\n lineHeight: 'calc(1.25 / 0.875)',\n color: secondaryColor\n },\n b3: {\n fontSize: '0.75rem',\n fontWeight: WEIGHTS.medium,\n lineHeight: 'calc(1 / 0.75)',\n color: secondaryColor\n },\n caption: {\n fontSize: '0.65rem',\n fontWeight: WEIGHTS.regular,\n lineHeight: 'calc(1 / 0.65)',\n color: secondaryColor\n },\n legal: {\n fontSize: '0.65rem',\n lineHeight: 'calc(1 / 0.65)',\n fontWeight: WEIGHTS.light,\n textTransform: 'uppercase',\n letterSpacing: '0.025em',\n color: secondaryColor\n }\n}\n\nexport const variantToElement: Record<\n TypographyVariant,\n keyof JSX.IntrinsicElements\n> = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n b1: 'p',\n b2: 'p',\n b3: 'p',\n caption: 'span',\n legal: 'span'\n}\n\nexport const alignText: Record<TextAlign, SlotStyle> = {\n left: { textAlign: 'left' },\n center: { textAlign: 'center' },\n right: { textAlign: 'right' },\n justify: { textAlign: 'justify' }\n}\n","// Utils\nimport { alignText, typographyVariants } from './config'\n\n// Types\nimport type { TypographyProps } from './types'\nimport { type SlotStyle, styled } from '@hooks/useThemedStyles/types'\n\nexport function createTypographyStyles(props: TypographyProps) {\n const { variant, align = 'left', color, labelLineThrough = false } = props\n\n return styled({\n loading: {\n width: 'fit-content',\n display: 'inline-block',\n borderRadius: '0.25rem',\n\n background: 'var(--px-bg-skeleton)',\n backgroundSize: '400% 400%',\n animation: 'gradient 3s ease infinite',\n color: 'transparent',\n\n __keyframes: {\n gradient: {\n '0%': { backgroundPosition: '0% 50%' },\n '50%': { backgroundPosition: '100% 50%' },\n '100%': { backgroundPosition: '0% 50%' }\n }\n }\n },\n\n text: {\n ...alignText[align],\n ...typographyVariants[variant],\n color: color ?? typographyVariants[variant].color,\n ...(labelLineThrough && {\n textDecoration: 'line-through',\n opacity: 0.6\n })\n } as SlotStyle\n })\n}\n","// External Libraries\nimport type React from 'react'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Utils\nimport { getPlaceholder } from './utils'\nimport { variantToElement } from './config'\n\n// Types\nimport type { TypographyProps } from './types'\n\n// Styles\nimport { createTypographyStyles } from './style'\n\nexport const Typography: React.FC<TypographyProps> = props => {\n const {\n id,\n as,\n href,\n variant,\n children,\n className,\n isLoading = false,\n placeholderSize = 5,\n styles: styleTypography\n } = props\n\n const { styles } = useThemedStyles(props, createTypographyStyles, {\n pick: p => [p.isLoading, p.variant, p.align, p.color, p.labelLineThrough],\n commonSlot: 'text',\n applyCommonProps: true,\n override: styleTypography\n })\n\n const Component = as ?? variantToElement[variant]\n\n if (isLoading) {\n return (\n <span\n id={id}\n aria-hidden=\"true\"\n role=\"presentation\"\n style={{ ...styles.text, ...styles.loading }}\n >\n {getPlaceholder(children, placeholderSize)}\n </span>\n )\n }\n\n const sharedProps = { id, style: styles.text, className }\n\n if (href) {\n return (\n <a href={href} {...sharedProps}>\n {children}\n </a>\n )\n }\n\n return <Component {...sharedProps}>{children}</Component>\n}\n"],"mappings":"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"}
|
package/dist/breadcrumb.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Skeleton-pvWAx_gn.js";
|
|
4
|
-
import { t as Breadcrumb } from "./Breadcrumb
|
|
4
|
+
import { t as Breadcrumb } from "./Breadcrumb-BjO7RVR0.js";
|
|
5
5
|
|
|
6
6
|
export { Breadcrumb };
|
package/dist/button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Loader-BTp8PCMz.js";
|
|
4
|
-
import { t as Button } from "./Button-
|
|
4
|
+
import { t as Button } from "./Button-CWZvWbMh.js";
|
|
5
5
|
|
|
6
6
|
export { Button };
|
package/dist/check-item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Icon-bV19y393.js";
|
|
4
|
-
import { t as CheckItem } from "./CheckItem-
|
|
4
|
+
import { t as CheckItem } from "./CheckItem-CE27veSs.js";
|
|
5
5
|
|
|
6
6
|
export { CheckItem };
|
package/dist/checkbox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Icon-bV19y393.js";
|
|
4
|
-
import { t as Checkbox } from "./Checkbox-
|
|
4
|
+
import { t as Checkbox } from "./Checkbox-DWlmddP3.js";
|
|
5
5
|
|
|
6
6
|
export { Checkbox };
|
package/dist/chip-list.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import "./Chip-
|
|
4
|
-
import "./Label-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
|
+
import "./Chip-0yO5bwim.js";
|
|
4
|
+
import "./Label-CBUa-x13.js";
|
|
5
5
|
import "./ErrorMessage-6pG4hFId.js";
|
|
6
|
-
import { t as ChipList } from "./ChipList-
|
|
6
|
+
import { t as ChipList } from "./ChipList-CmO2ctak.js";
|
|
7
7
|
|
|
8
8
|
export { ChipList };
|
package/dist/chip.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import { n as types_exports, t as Chip } from "./Chip-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
|
+
import { n as types_exports, t as Chip } from "./Chip-0yO5bwim.js";
|
|
4
4
|
|
|
5
5
|
export { Chip, types_exports as ChipTypes };
|
package/dist/color-picker.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import "./Label-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
|
+
import "./Label-CBUa-x13.js";
|
|
4
4
|
import "./ErrorMessage-6pG4hFId.js";
|
|
5
|
-
import { n as types_exports, t as ColorPicker } from "./ColorPicker-
|
|
5
|
+
import { n as types_exports, t as ColorPicker } from "./ColorPicker-BBTuW0Bp.js";
|
|
6
6
|
import "./Skeleton-pvWAx_gn.js";
|
|
7
7
|
|
|
8
8
|
export { ColorPicker, types_exports as ColorPickerTypes };
|
package/dist/context-menu.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import "./Switch-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
|
+
import "./Switch-D3Eitmnj.js";
|
|
4
4
|
import "./useDismiss-Dpzg5Xpf.js";
|
|
5
5
|
import "./useFloating-D-2IDIWG.js";
|
|
6
6
|
import "./Popover-BV_1hBez.js";
|
|
7
7
|
import "./BasePopover-CY-9StFD.js";
|
|
8
|
-
import { n as types_exports, t as ContextMenu } from "./ContextMenu-
|
|
8
|
+
import { n as types_exports, t as ContextMenu } from "./ContextMenu-_72bEVKL.js";
|
|
9
9
|
|
|
10
10
|
export { ContextMenu, types_exports as ContextMenuTypes };
|
package/dist/date-picker.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./useDismiss-Dpzg5Xpf.js";
|
|
4
4
|
import "./useFloating-D-2IDIWG.js";
|
|
5
5
|
import "./Popover-BV_1hBez.js";
|
|
6
6
|
import "./Icon-bV19y393.js";
|
|
7
|
-
import { n as types_exports, t as DatePicker } from "./DatePicker-
|
|
7
|
+
import { n as types_exports, t as DatePicker } from "./DatePicker-znH0ZAdX.js";
|
|
8
8
|
import "./BasePopover-CY-9StFD.js";
|
|
9
|
-
import "./Label-
|
|
9
|
+
import "./Label-CBUa-x13.js";
|
|
10
10
|
import "./ErrorMessage-6pG4hFId.js";
|
|
11
11
|
import "./Loader-BTp8PCMz.js";
|
|
12
|
-
import "./Button-
|
|
12
|
+
import "./Button-CWZvWbMh.js";
|
|
13
13
|
import "./MaskModule-DZko7F_e.js";
|
|
14
14
|
|
|
15
15
|
export { DatePicker, types_exports as DatePickerTypes };
|
package/dist/file-input.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Icon-bV19y393.js";
|
|
4
|
-
import "./Label-
|
|
4
|
+
import "./Label-CBUa-x13.js";
|
|
5
5
|
import "./ErrorMessage-6pG4hFId.js";
|
|
6
|
-
import { n as types_exports, t as FileInput } from "./FileInput-
|
|
6
|
+
import { n as types_exports, t as FileInput } from "./FileInput-BXK9H8Ar.js";
|
|
7
7
|
|
|
8
8
|
export { FileInput, types_exports as FileInputTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as CommonStyleProps } from "./styleProps-Bq2PkDym.js";
|
|
2
2
|
import { r as TypeStyles } from "./useThemedStyles-DoHwc6h5.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/commons/toolkit/TabSwitch/styles.d.ts
|
|
7
7
|
declare function createTabSwitchStyles<T>(props: TabSwitchProps<T>): {
|
|
@@ -47,7 +47,7 @@ interface TabSwitchProps<T> extends CommonStyleProps {
|
|
|
47
47
|
}
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/commons/toolkit/TabSwitch/index.d.ts
|
|
50
|
-
declare const TabSwitch: <T>(props: TabSwitchProps<T>) =>
|
|
50
|
+
declare const TabSwitch: <T>(props: TabSwitchProps<T>) => react_jsx_runtime0.JSX.Element;
|
|
51
51
|
//#endregion
|
|
52
52
|
export { types_d_exports as n, TabSwitch as t };
|
|
53
|
-
//# sourceMappingURL=index-
|
|
53
|
+
//# sourceMappingURL=index-BQRzf4rc.d.ts.map
|
|
@@ -27,7 +27,7 @@ declare function createSelectStyles(props: SelectProps): {
|
|
|
27
27
|
opacity: number;
|
|
28
28
|
cursor: "not-allowed" | "pointer" | "progress";
|
|
29
29
|
boxShadow: "var(--px-shadow-default)";
|
|
30
|
-
borderColor: "var(--px-
|
|
30
|
+
borderColor: "var(--px-border-primary)" | "var(--px-color-error)";
|
|
31
31
|
__rules: {
|
|
32
32
|
'&:focus-within': {
|
|
33
33
|
outlineOffset: string;
|
|
@@ -106,4 +106,4 @@ interface SelectOption {
|
|
|
106
106
|
declare const Select: React$1.FC<SelectProps>;
|
|
107
107
|
//#endregion
|
|
108
108
|
export { types_d_exports as n, Select as t };
|
|
109
|
-
//# sourceMappingURL=index-
|
|
109
|
+
//# sourceMappingURL=index-BmFKokpv.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as TextProps } from "./styleProps-Bq2PkDym.js";
|
|
2
2
|
import { r as TypeStyles } from "./useThemedStyles-DoHwc6h5.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/commons/inputs/TextArea/styles.d.ts
|
|
6
6
|
declare function createTextAreaStyles(props: TextAreaProps): {
|
|
@@ -27,7 +27,7 @@ declare function createTextAreaStyles(props: TextAreaProps): {
|
|
|
27
27
|
fontWeight: "400";
|
|
28
28
|
fontSize: string;
|
|
29
29
|
color: "var(--px-text-primary)";
|
|
30
|
-
borderColor: "var(--px-
|
|
30
|
+
borderColor: "var(--px-border-primary)" | "var(--px-color-error)";
|
|
31
31
|
outlineOffset: string;
|
|
32
32
|
cursor: "default" | undefined;
|
|
33
33
|
__rules: {
|
|
@@ -67,7 +67,7 @@ interface TextAreaProps {
|
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
69
|
//#region src/components/commons/inputs/TextArea/index.d.ts
|
|
70
|
-
declare const TextArea: (props: TextAreaProps) =>
|
|
70
|
+
declare const TextArea: (props: TextAreaProps) => react_jsx_runtime1.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { TextArea as t };
|
|
73
|
-
//# sourceMappingURL=index-
|
|
73
|
+
//# sourceMappingURL=index-BxDK_Go8.d.ts.map
|
|
@@ -22,7 +22,7 @@ declare function createInputStyles(props: InputProps): {
|
|
|
22
22
|
padding: string;
|
|
23
23
|
opacity: number;
|
|
24
24
|
boxShadow: "var(--px-shadow-default)";
|
|
25
|
-
borderColor: "var(--px-
|
|
25
|
+
borderColor: "var(--px-border-primary)" | "var(--px-color-error)";
|
|
26
26
|
__rules: {
|
|
27
27
|
'&:focus-within': {
|
|
28
28
|
outlineOffset: string;
|
|
@@ -108,4 +108,4 @@ interface InputMethods {
|
|
|
108
108
|
declare const Input: react0.ForwardRefExoticComponent<InputProps & react0.RefAttributes<InputMethods>>;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { Input as t };
|
|
111
|
-
//# sourceMappingURL=index-
|
|
111
|
+
//# sourceMappingURL=index-C22JJ_rW.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ import { n as types_d_exports$5 } from "./types-vfa_y8KH.js";
|
|
|
6
6
|
import { n as types_d_exports$3, t as DatePicker } from "./index-BaTeJXMP.js";
|
|
7
7
|
import { n as types_d_exports$4, t as FileInput } from "./index-DDF3jbpO.js";
|
|
8
8
|
import { n as Locale, r as MaskType, t as MaskModule } from "./index-CSRzYxDc.js";
|
|
9
|
-
import { t as Input } from "./index-
|
|
9
|
+
import { t as Input } from "./index-C22JJ_rW.js";
|
|
10
10
|
import { t as SearchInput } from "./index-MyZ_XVsH.js";
|
|
11
|
-
import { n as types_d_exports$6, t as Select } from "./index-
|
|
11
|
+
import { n as types_d_exports$6, t as Select } from "./index-BmFKokpv.js";
|
|
12
12
|
import { t as index_d_exports } from "./index-CriBmhqv.js";
|
|
13
|
-
import { t as TextArea } from "./index-
|
|
13
|
+
import { t as TextArea } from "./index-BxDK_Go8.js";
|
|
14
14
|
import { t as Popover } from "./index-tivXt3ba.js";
|
|
15
15
|
import { t as BasePopover } from "./index-BKsKKh1p.js";
|
|
16
16
|
import { t as Breadcrumb } from "./index-CBHEtmuG.js";
|
|
@@ -25,7 +25,7 @@ import { InfoSummary, InfoSummaryItem, InfoSummaryProps } from "./info-summary.j
|
|
|
25
25
|
import { t as Pagination } from "./index-D5kC89SC.js";
|
|
26
26
|
import { ScrollPaginationContainer } from "./scroll-pagination-container.js";
|
|
27
27
|
import { t as Switch } from "./index-DoLWDzDX.js";
|
|
28
|
-
import { n as types_d_exports$7, t as TabSwitch } from "./index-
|
|
28
|
+
import { n as types_d_exports$7, t as TabSwitch } from "./index-BQRzf4rc.js";
|
|
29
29
|
import { Typography } from "./typography.js";
|
|
30
30
|
import { a as ThemeName, c as ThemeRegistry, i as ThemeMode, l as ThemeTokens, n as useTheme, o as ThemePersistence, r as ThemeContextData, s as ThemeProviderProps, t as ThemeProvider } from "./index-DPmfBsga.js";
|
|
31
31
|
import { useDismiss } from "./use-dismiss.js";
|
package/dist/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import { t as Typography } from "./Typography-
|
|
3
|
-
import { t as Switch } from "./Switch-
|
|
2
|
+
import { t as Typography } from "./Typography-CcQTHV-F.js";
|
|
3
|
+
import { t as Switch } from "./Switch-D3Eitmnj.js";
|
|
4
4
|
import { t as useDismiss } from "./useDismiss-Dpzg5Xpf.js";
|
|
5
5
|
import { t as useFloating } from "./useFloating-D-2IDIWG.js";
|
|
6
6
|
import { n as types_exports$5, t as Popover } from "./Popover-BV_1hBez.js";
|
|
7
7
|
import "./Icon-bV19y393.js";
|
|
8
|
-
import { t as Checkbox } from "./Checkbox-
|
|
9
|
-
import { n as types_exports$3, t as DatePicker } from "./DatePicker-
|
|
8
|
+
import { t as Checkbox } from "./Checkbox-DWlmddP3.js";
|
|
9
|
+
import { n as types_exports$3, t as DatePicker } from "./DatePicker-znH0ZAdX.js";
|
|
10
10
|
import { n as useTheme, t as ThemeProvider } from "./ThemeContext-CRVo1wLa.js";
|
|
11
|
-
import { n as types_exports$7, t as Select } from "./Select-
|
|
12
|
-
import { n as types_exports$8, t as TabSwitch } from "./TabSwitch-
|
|
13
|
-
import { t as CheckItem } from "./CheckItem-
|
|
14
|
-
import { t as InfoSummary } from "./InfoSummary-
|
|
11
|
+
import { n as types_exports$7, t as Select } from "./Select-CTEWtbKT.js";
|
|
12
|
+
import { n as types_exports$8, t as TabSwitch } from "./TabSwitch-UPXOZTf4.js";
|
|
13
|
+
import { t as CheckItem } from "./CheckItem-CE27veSs.js";
|
|
14
|
+
import { t as InfoSummary } from "./InfoSummary-D8x-t44q.js";
|
|
15
15
|
import { t as BasePopover } from "./BasePopover-CY-9StFD.js";
|
|
16
|
-
import { n as types_exports$2, t as ContextMenu } from "./ContextMenu-
|
|
17
|
-
import { n as types_exports, t as Chip } from "./Chip-
|
|
18
|
-
import "./Label-
|
|
16
|
+
import { n as types_exports$2, t as ContextMenu } from "./ContextMenu-_72bEVKL.js";
|
|
17
|
+
import { n as types_exports, t as Chip } from "./Chip-0yO5bwim.js";
|
|
18
|
+
import "./Label-CBUa-x13.js";
|
|
19
19
|
import "./ErrorMessage-6pG4hFId.js";
|
|
20
|
-
import { t as ChipList } from "./ChipList-
|
|
20
|
+
import { t as ChipList } from "./ChipList-CmO2ctak.js";
|
|
21
21
|
import { t as IconButton } from "./IconButton-R8wpGZU_.js";
|
|
22
|
-
import { t as Pagination } from "./Pagination-
|
|
22
|
+
import { t as Pagination } from "./Pagination-i2_x464D.js";
|
|
23
23
|
import "./Loader-BTp8PCMz.js";
|
|
24
|
-
import { t as Button } from "./Button-
|
|
24
|
+
import { t as Button } from "./Button-CWZvWbMh.js";
|
|
25
25
|
import { n as types_exports$6, t as ScrollPaginationContainer } from "./ScrollPaginationContainer-isAA4BsG.js";
|
|
26
26
|
import { c as MaskModule, o as Locale, s as MaskType } from "./MaskModule-DZko7F_e.js";
|
|
27
|
-
import { t as Input } from "./Input-
|
|
28
|
-
import { t as TextArea } from "./TextArea-
|
|
29
|
-
import { t as SearchInput } from "./SearchInput-
|
|
30
|
-
import { n as types_exports$1, t as ColorPicker } from "./ColorPicker-
|
|
27
|
+
import { t as Input } from "./Input-BbQajtvC.js";
|
|
28
|
+
import { t as TextArea } from "./TextArea-BMJWFF3y.js";
|
|
29
|
+
import { t as SearchInput } from "./SearchInput-zePMheJK.js";
|
|
30
|
+
import { n as types_exports$1, t as ColorPicker } from "./ColorPicker-BBTuW0Bp.js";
|
|
31
31
|
import { t as Skeleton } from "./Skeleton-pvWAx_gn.js";
|
|
32
|
-
import { n as types_exports$4, t as FileInput } from "./FileInput-
|
|
32
|
+
import { n as types_exports$4, t as FileInput } from "./FileInput-BXK9H8Ar.js";
|
|
33
33
|
import { useVirtualAnchor } from "./use-virtual-anchor.js";
|
|
34
|
-
import { t as Breadcrumb } from "./Breadcrumb
|
|
34
|
+
import { t as Breadcrumb } from "./Breadcrumb-BjO7RVR0.js";
|
|
35
35
|
|
|
36
36
|
export { BasePopover, Breadcrumb, Button, CheckItem, Checkbox, Chip, ChipList, types_exports as ChipTypes, ColorPicker, types_exports$1 as ColorPickerTypes, ContextMenu, types_exports$2 as ContextMenuTypes, DatePicker, types_exports$3 as DatePickerTypes, FileInput, types_exports$4 as FileInputTypes, IconButton, InfoSummary, Input, Locale, MaskModule, MaskType, Pagination, Popover, types_exports$5 as PopoverTypes, ScrollPaginationContainer, types_exports$6 as ScrollPaginationContainerTypes, SearchInput, Select, types_exports$7 as SelectTypes, Skeleton, Switch, TabSwitch, types_exports$8 as TabSwitchTypes, TextArea, ThemeProvider, Typography, useDismiss, useFloating, useTheme, useVirtualAnchor };
|
package/dist/info-summary.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import { t as InfoSummary } from "./InfoSummary-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
|
+
import { t as InfoSummary } from "./InfoSummary-D8x-t44q.js";
|
|
4
4
|
|
|
5
5
|
export { InfoSummary };
|
package/dist/input.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Input } from "./index-
|
|
1
|
+
import { t as Input } from "./index-C22JJ_rW.js";
|
|
2
2
|
export { Input };
|
package/dist/input.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Icon-bV19y393.js";
|
|
4
|
-
import "./Label-
|
|
4
|
+
import "./Label-CBUa-x13.js";
|
|
5
5
|
import "./ErrorMessage-6pG4hFId.js";
|
|
6
6
|
import "./MaskModule-DZko7F_e.js";
|
|
7
|
-
import { t as Input } from "./Input-
|
|
7
|
+
import { t as Input } from "./Input-BbQajtvC.js";
|
|
8
8
|
|
|
9
9
|
export { Input };
|
package/dist/pagination.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Icon-bV19y393.js";
|
|
4
4
|
import "./IconButton-R8wpGZU_.js";
|
|
5
|
-
import { t as Pagination } from "./Pagination-
|
|
5
|
+
import { t as Pagination } from "./Pagination-i2_x464D.js";
|
|
6
6
|
import "./Loader-BTp8PCMz.js";
|
|
7
|
-
import "./Button-
|
|
7
|
+
import "./Button-CWZvWbMh.js";
|
|
8
8
|
|
|
9
9
|
export { Pagination };
|
package/dist/searchInput.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./Icon-bV19y393.js";
|
|
4
|
-
import "./Label-
|
|
5
|
-
import { t as SearchInput } from "./SearchInput-
|
|
4
|
+
import "./Label-CBUa-x13.js";
|
|
5
|
+
import { t as SearchInput } from "./SearchInput-zePMheJK.js";
|
|
6
6
|
|
|
7
7
|
export { SearchInput };
|
package/dist/select.d.ts
CHANGED
package/dist/select.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
3
|
import "./useDismiss-Dpzg5Xpf.js";
|
|
4
4
|
import "./useFloating-D-2IDIWG.js";
|
|
5
5
|
import "./Popover-BV_1hBez.js";
|
|
6
6
|
import "./Icon-bV19y393.js";
|
|
7
|
-
import { n as types_exports, t as Select } from "./Select-
|
|
7
|
+
import { n as types_exports, t as Select } from "./Select-CTEWtbKT.js";
|
|
8
8
|
import "./BasePopover-CY-9StFD.js";
|
|
9
|
-
import "./Label-
|
|
9
|
+
import "./Label-CBUa-x13.js";
|
|
10
10
|
import "./ErrorMessage-6pG4hFId.js";
|
|
11
11
|
import "./Loader-BTp8PCMz.js";
|
|
12
12
|
import "./ScrollPaginationContainer-isAA4BsG.js";
|
|
13
13
|
import "./MaskModule-DZko7F_e.js";
|
|
14
|
-
import "./Input-
|
|
14
|
+
import "./Input-BbQajtvC.js";
|
|
15
15
|
|
|
16
16
|
export { Select, types_exports as SelectTypes };
|
package/dist/switch.js
CHANGED
package/dist/tab-switch.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as types_d_exports, t as TabSwitch } from "./index-
|
|
1
|
+
import { n as types_d_exports, t as TabSwitch } from "./index-BQRzf4rc.js";
|
|
2
2
|
export { TabSwitch, types_d_exports as TabSwitchTypes };
|
package/dist/tab-switch.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import { n as types_exports, t as TabSwitch } from "./TabSwitch-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
|
+
import { n as types_exports, t as TabSwitch } from "./TabSwitch-UPXOZTf4.js";
|
|
4
4
|
|
|
5
5
|
export { TabSwitch, types_exports as TabSwitchTypes };
|
package/dist/text-area.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextArea } from "./index-
|
|
1
|
+
import { t as TextArea } from "./index-BxDK_Go8.js";
|
|
2
2
|
export { TextArea };
|
package/dist/text-area.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./useThemedStyles-Dco_54KA.js";
|
|
2
|
-
import "./Typography-
|
|
3
|
-
import "./Label-
|
|
2
|
+
import "./Typography-CcQTHV-F.js";
|
|
3
|
+
import "./Label-CBUa-x13.js";
|
|
4
4
|
import "./ErrorMessage-6pG4hFId.js";
|
|
5
|
-
import { t as TextArea } from "./TextArea-
|
|
5
|
+
import { t as TextArea } from "./TextArea-BMJWFF3y.js";
|
|
6
6
|
|
|
7
7
|
export { TextArea };
|
package/dist/typography.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Typography-u0BPHgCr.js","names":["typographyVariants: Record<TypographyVariant, SlotStyle>","variantToElement: Record<\n TypographyVariant,\n keyof JSX.IntrinsicElements\n>","alignText: Record<TextAlign, SlotStyle>","Typography: React.FC<TypographyProps>"],"sources":["../src/components/commons/toolkit/Typography/utils.ts","../src/components/commons/toolkit/Typography/config.ts","../src/components/commons/toolkit/Typography/style.ts","../src/components/commons/toolkit/Typography/index.tsx"],"sourcesContent":["export function getPlaceholder(content: React.ReactNode, size: number) {\n const contentSize = typeof content === 'string' ? content.length : 0\n const finalSize = Math.max(contentSize, size)\n\n if (finalSize === 0) return ''\n\n return '*'.repeat(finalSize)\n}\n","// External Libraries\nimport type { JSX } from 'react'\n\n// Types\nimport type { TextAlign, TypographyVariant } from './types'\nimport { type SlotStyle, WEIGHTS } from '@hooks/useThemedStyles/types'\n\nconst primaryColor = 'var(--px-text-primary)'\nconst secondaryColor = 'var(--px-text-secondary)'\n\nexport const typographyVariants: Record<TypographyVariant, SlotStyle> = {\n h1: {\n fontSize: '3rem',\n fontWeight: '700',\n lineHeight: WEIGHTS.bold,\n color: primaryColor\n },\n h2: {\n fontSize: '2.25rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(2.5 / 2.25)',\n color: primaryColor\n },\n h3: {\n fontSize: '1.875rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(2.25 / 1.875)',\n color: primaryColor\n },\n h4: {\n fontSize: '1.5rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(2 / 1.5)',\n color: primaryColor\n },\n h5: {\n fontSize: '1.25rem',\n fontWeight: WEIGHTS.bold,\n lineHeight: 'calc(1.75 / 1.25)',\n color: primaryColor\n },\n b1: {\n fontSize: '1rem',\n fontWeight: WEIGHTS.medium,\n lineHeight: '1.5',\n color: primaryColor\n },\n b2: {\n fontSize: '0.875rem',\n fontWeight: WEIGHTS.medium,\n lineHeight: 'calc(1.25 / 0.875)',\n color: secondaryColor\n },\n b3: {\n fontSize: '0.75rem',\n fontWeight: WEIGHTS.medium,\n lineHeight: 'calc(1 / 0.75)',\n color: secondaryColor\n },\n caption: {\n fontSize: '0.65rem',\n fontWeight: WEIGHTS.regular,\n lineHeight: 'calc(1 / 0.65)',\n color: secondaryColor\n },\n legal: {\n fontSize: '0.65rem',\n lineHeight: 'calc(1 / 0.65)',\n fontWeight: WEIGHTS.light,\n textTransform: 'uppercase',\n letterSpacing: '0.025em',\n color: secondaryColor\n }\n}\n\nexport const variantToElement: Record<\n TypographyVariant,\n keyof JSX.IntrinsicElements\n> = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n b1: 'p',\n b2: 'p',\n b3: 'p',\n caption: 'span',\n legal: 'span'\n}\n\nexport const alignText: Record<TextAlign, SlotStyle> = {\n left: { textAlign: 'left' },\n center: { textAlign: 'center' },\n right: { textAlign: 'right' },\n justify: { textAlign: 'justify' }\n}\n","// Utils\nimport { alignText, typographyVariants } from './config'\n\n// Types\nimport type { TypographyProps } from './types'\nimport { type SlotStyle, styled } from '@hooks/useThemedStyles/types'\n\nexport function createTypographyStyles(props: TypographyProps) {\n const { variant, align = 'left', color, labelLineThrough = false } = props\n\n return styled({\n loading: {\n width: 'fit-content',\n display: 'inline-block',\n borderRadius: '0.25rem',\n\n background: 'var(--px-bg-skeleton)',\n backgroundSize: '400% 400%',\n animation: 'gradient 3s ease infinite',\n color: 'transparent',\n\n __keyframes: {\n gradient: {\n '0%': { backgroundPosition: '0% 50%' },\n '50%': { backgroundPosition: '100% 50%' },\n '100%': { backgroundPosition: '0% 50%' }\n }\n }\n },\n\n text: {\n ...alignText[align],\n ...typographyVariants[variant],\n color: color ?? typographyVariants[variant].color,\n ...(labelLineThrough && {\n textDecoration: 'line-through',\n opacity: 0.6\n })\n } as SlotStyle\n })\n}\n","// External Libraries\nimport type React from 'react'\n\n// Hooks\nimport { useThemedStyles } from '@hooks/useThemedStyles'\n\n// Utils\nimport { getPlaceholder } from './utils'\nimport { variantToElement } from './config'\n\n// Types\nimport type { TypographyProps } from './types'\n\n// Styles\nimport { createTypographyStyles } from './style'\n\nexport const Typography: React.FC<TypographyProps> = props => {\n const {\n id,\n as,\n href,\n variant,\n children,\n className,\n isLoading = false,\n placeholderSize = 5,\n styles: styleTypography\n } = props\n\n const { styles } = useThemedStyles(props, createTypographyStyles, {\n pick: p => [p.isLoading, p.variant, p.align, p.color, p.labelLineThrough],\n commonSlot: 'text',\n applyCommonProps: true,\n override: styleTypography\n })\n\n const Component = as ?? variantToElement[variant]\n\n if (isLoading) {\n return (\n <span\n id={id}\n aria-hidden=\"true\"\n role=\"presentation\"\n style={{ ...styles.text, ...styles.loading }}\n >\n {getPlaceholder(children, placeholderSize)}\n </span>\n )\n }\n\n const sharedProps = { id, style: styles.text, className }\n\n if (href) {\n return (\n <a href={href} {...sharedProps}>\n {children}\n </a>\n )\n }\n\n return <Component {...sharedProps}>{children}</Component>\n}\n"],"mappings":"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"}
|