@bbl-digital/snorre 2.2.41 → 2.2.42
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/bundle.js
CHANGED
@@ -29585,7 +29585,7 @@
|
|
29585
29585
|
// Static fields
|
29586
29586
|
const _defaultValue = showSeconds ? DEFAULT_VALUE_FULL : DEFAULT_VALUE_SHORT;
|
29587
29587
|
|
29588
|
-
const _defaultWidth = width
|
29588
|
+
const _defaultWidth = width ? width : showSeconds ? '58px' : '35px';
|
29589
29589
|
|
29590
29590
|
const _divider = divider && divider.length === 1 ? divider : DEFAULT_DIVIDER;
|
29591
29591
|
|
@@ -23,7 +23,7 @@ const TimePicker = ({
|
|
23
23
|
// Static fields
|
24
24
|
const _defaultValue = showSeconds ? DEFAULT_VALUE_FULL : DEFAULT_VALUE_SHORT;
|
25
25
|
|
26
|
-
const _defaultWidth = width
|
26
|
+
const _defaultWidth = width ? width : showSeconds ? '58px' : '35px';
|
27
27
|
|
28
28
|
const _divider = divider && divider.length === 1 ? divider : DEFAULT_DIVIDER;
|
29
29
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Timepicker/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAgC,MAAM,OAAO,CAAA;AAapD,aAAK,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;AAElD,UAAU,MAAM;IACd,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qBAAqB;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Timepicker/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAgC,MAAM,OAAO,CAAA;AAapD,aAAK,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;AAElD,UAAU,MAAM;IACd,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,6CAA6C;IAC7C,QAAQ,EAAE,YAAY,CAAA;IACtB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IACxB,wCAAwC;IACxC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,+FAA+F;IAC/F,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,gBAAgB,CAAA;IACtB,0BAA0B;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAiLhC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
@@ -23,7 +23,7 @@ const TimePicker = ({
|
|
23
23
|
// Static fields
|
24
24
|
const _defaultValue = showSeconds ? DEFAULT_VALUE_FULL : DEFAULT_VALUE_SHORT;
|
25
25
|
|
26
|
-
const _defaultWidth = width
|
26
|
+
const _defaultWidth = width ? width : showSeconds ? '58px' : '35px';
|
27
27
|
|
28
28
|
const _divider = divider && divider.length === 1 ? divider : DEFAULT_DIVIDER;
|
29
29
|
|