shineout 3.0.0-alpha.24 → 3.0.0-alpha.26

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/cjs/index.js CHANGED
@@ -456,6 +456,6 @@ exports.TYPE = _TYPE;
456
456
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
457
457
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
458
458
  var _default = {
459
- version: '3.0.0-alpha.24'
459
+ version: '3.0.0-alpha.26'
460
460
  };
461
461
  exports.default = _default;
package/dist/shineout.js CHANGED
@@ -3405,6 +3405,21 @@ var buttonTokens = {
3405
3405
  buttonDangerTextFocusFontColor: 'Danger-5',
3406
3406
  buttonDangerTextFocusBackgroundColor: 'Neutral-fill-2',
3407
3407
  buttonDangerTextFocusBorderColor: 'Neutral-fill-2',
3408
+ buttonLinkFontColor: 'Brand-6',
3409
+ buttonLinkBackgroundColor: 'transparent',
3410
+ buttonLinkBorderColor: 'transparent',
3411
+ buttonLinkDisabledFontColor: 'Brand-3',
3412
+ buttonLinkDisabledBackgroundColor: 'transparent',
3413
+ buttonLinkDisabledBorderColor: 'transparent',
3414
+ buttonLinkHoverFontColor: 'Brand-5',
3415
+ buttonLinkHoverBackgroundColor: 'transparent',
3416
+ buttonLinkHoverBorderColor: 'transparent',
3417
+ buttonLinkActiveFontColor: 'Brand-7',
3418
+ buttonLinkActiveBackgroundColor: 'transparent',
3419
+ buttonLinkActiveBorderColor: 'transparent',
3420
+ buttonLinkFocusFontColor: 'Brand-5',
3421
+ buttonLinkFocusBackgroundColor: 'transparent',
3422
+ buttonLinkFocusBorderColor: 'transparent',
3408
3423
  buttonFontSize: '14/regular',
3409
3424
  buttonBorderRadius: 'Radius-4',
3410
3425
  buttonPaddingX: 'Padding-8',
@@ -18451,8 +18466,6 @@ var css_jss_esm_css = createCss();
18451
18466
  /* harmony default export */ var css_jss_esm = (css_jss_esm_css);
18452
18467
 
18453
18468
  ;// CONCATENATED MODULE: ../../node_modules/.pnpm/react-jss@10.9.2_react@18.2.0/node_modules/react-jss/dist/react-jss.esm.js
18454
- "use client";
18455
-
18456
18469
 
18457
18470
 
18458
18471
 
@@ -19105,7 +19118,7 @@ var handleStyle = function handleStyle(style) {
19105
19118
  };
19106
19119
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
19107
19120
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
19108
- /* harmony default export */ var version = ('3.0.0-alpha.24');
19121
+ /* harmony default export */ var version = ('3.0.0-alpha.26');
19109
19122
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
19110
19123
 
19111
19124
 
@@ -19648,7 +19661,7 @@ var ButtonStyle = {
19648
19661
  danger: objectSpread2_default()({}, button_button('Danger', '')),
19649
19662
  warning: objectSpread2_default()({}, button_button('Warning', '')),
19650
19663
  success: objectSpread2_default()({}, button_button('Success', '')),
19651
- link: {},
19664
+ link: objectSpread2_default()({}, button_button('Link', '')),
19652
19665
  outline: {
19653
19666
  '&$default': objectSpread2_default()({}, button_button('Secondary', 'Outline')),
19654
19667
  '&$primary': objectSpread2_default()({}, button_button('Primary', 'Outline')),
@@ -42805,6 +42818,10 @@ var useDatePickerFormat = function useDatePickerFormat(props) {
42805
42818
  var dateArr = convertValueToDateArr(value, format, options);
42806
42819
  context.cachedDateArr = dateArr;
42807
42820
  setStateDate(dateArr);
42821
+ if (!value) return;
42822
+ if (Array.isArray(value) && !value[0] && !value[1]) {
42823
+ return;
42824
+ }
42808
42825
  var formatValue = getFormatValueArr(dateArr);
42809
42826
  var v = range ? formatValue : formatValue[0];
42810
42827
  if (!shallow_equal(v, value)) {
@@ -47348,8 +47365,8 @@ var useForm = function useForm(props) {
47348
47365
  onChange(function (v) {
47349
47366
  deepSet(v, n, df, deepSetOptions);
47350
47367
  });
47351
- update(n);
47352
47368
  }
47369
+ update(n);
47353
47370
  },
47354
47371
  unbind: function unbind(n, reserveAble) {
47355
47372
  delete context.validateMap[n];
@@ -64944,7 +64961,7 @@ var upload_interface = __webpack_require__(7818);
64944
64961
 
64945
64962
 
64946
64963
  /* harmony default export */ var src_0 = ({
64947
- version: '3.0.0-alpha.24'
64964
+ version: '3.0.0-alpha.26'
64948
64965
  });
64949
64966
  }();
64950
64967
  /******/ return __webpack_exports__;