@tmlmobilidade/ui 20250124.2154.52 → 20250128.1122.38
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/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/common/DateTimePicker/index.d.ts +4 -0
- package/dist/cjs/types/src/components/common/SegmentedControl/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/common/DateTimePicker/index.d.ts +4 -0
- package/dist/esm/types/src/components/common/SegmentedControl/index.d.ts +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/styles.css +9 -3
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -803,7 +803,7 @@ function Checkbox(props) {
|
|
|
803
803
|
var styles$j = {"root":"styles-module_root__vNUQ9","indicator":"styles-module_indicator__0XMRf","label":"styles-module_label__Mf1Ea"};
|
|
804
804
|
|
|
805
805
|
function SegmentedControl({ ...props }) {
|
|
806
|
-
return jsxRuntimeExports.jsx(core.SegmentedControl, { ...props, classNames: styles$j });
|
|
806
|
+
return jsxRuntimeExports.jsx(core.SegmentedControl, { ...props, className: cn(props.className, props.fullWidth && 'w-full'), classNames: { ...styles$j, ...props.classNames } });
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
function Component$3({ error, validation, value, classNames, ...props }) {
|
|
@@ -1030,7 +1030,7 @@ function Text({ children, size = 'base', weight = 'medium', lineHeight = 'base',
|
|
|
1030
1030
|
var styles$a = {"input":"styles-module_input__7GH-0","wrapper":"styles-module_wrapper__676-W","variantWhite":"styles-module_variantWhite__XpqzN","section":"styles-module_section__2Dh7a","sizeSm":"styles-module_sizeSm__cmzmj","label":"styles-module_label__yQwLG","description":"styles-module_description__9hShz"};
|
|
1031
1031
|
|
|
1032
1032
|
function DateTimePicker({ leftSection = jsxRuntimeExports.jsx(iconsReact.IconCalendar, { size: 20 }), ...props }) {
|
|
1033
|
-
return jsxRuntimeExports.jsx(dates.DateTimePicker, { classNames: { ...styles$a, ...props.classNames }, ...props, leftSection: leftSection });
|
|
1033
|
+
return jsxRuntimeExports.jsx(dates.DateTimePicker, { className: cn(props.fullWidth && "w-full"), classNames: { ...styles$a, ...props.classNames }, ...props, leftSection: leftSection });
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
var TextInputOverride = {"input":"text-input-module_input__9C3ID","wrapper":"text-input-module_wrapper__jrJs0","variantWhite":"text-input-module_variantWhite__M5THF","section":"text-input-module_section__uYM8p","sizeSm":"text-input-module_sizeSm__9YY9u","label":"text-input-module_label__sLogM","description":"text-input-module_description__hPkID"};
|