@cleartrip/talos-markdown-widget 1.4.0-beta-260805-4.0 → 1.4.0

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.
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import type { IWidgetProps } from "@cleartrip/talos-widget-types";
3
2
  import { IMarkdownData, IMarkdownMetadata } from "./type";
4
- declare const MarkdownWidget: (props: IWidgetProps<IMarkdownData, IMarkdownMetadata>) => import("react").JSX.Element;
3
+ declare const MarkdownWidget: (props: IWidgetProps<IMarkdownData, IMarkdownMetadata>) => import("react/jsx-runtime").JSX.Element;
5
4
  export default MarkdownWidget;
6
5
  //# sourceMappingURL=MarkdownWidget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownWidget.d.ts","sourceRoot":"","sources":["../packages/components/markdown-widget/src/MarkdownWidget.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAO1D,QAAA,MAAM,cAAc,UAAW,aAAa,aAAa,EAAE,iBAAiB,CAAC,gCA4D5E,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"MarkdownWidget.d.ts","sourceRoot":"","sources":["../packages/components/markdown-widget/src/MarkdownWidget.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAO1D,QAAA,MAAM,cAAc,UAAW,aAAa,aAAa,EAAE,iBAAiB,CAAC,4CA4D5E,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -698,6 +698,7 @@
698
698
  pinaColada300: '#FFE46E',
699
699
  black100: '#1B1B1B',
700
700
  gray97: '#f7f7f7',
701
+ gray98: '#FAFBFF',
701
702
  successGreen500: '#11A056',
702
703
  purple700: '#7226E0',
703
704
  neutralOpacity8: '#00000014',
@@ -734,13 +735,16 @@
734
735
  13: '52px',
735
736
  14: '56px',
736
737
  15: '60px',
738
+ 20: '80px',
737
739
  50: '200px'
738
740
  };
739
741
  var spacing = {
740
742
  0: '0px',
743
+ 0.5: '2px',
741
744
  1: '4px',
742
745
  2: '8px',
743
746
  3: '12px',
747
+ 1.5: '6px',
744
748
  4: '16px',
745
749
  5: '20px',
746
750
  6: '24px',
@@ -5168,10 +5172,15 @@
5168
5172
  lightRed: colors.red200,
5169
5173
  black100: colors.black100,
5170
5174
  gray97: colors.gray97,
5175
+ gray98: colors.gray98,
5171
5176
  darkRed: colors.red500,
5172
5177
  orange500: colors.orange500,
5173
5178
  purple700: colors.purple700,
5174
- neutralOpacity8: colors.neutralOpacity8
5179
+ neutralOpacity8: colors.neutralOpacity8,
5180
+ darkRed500: colors.red500,
5181
+ successGreen500: colors.successGreen500,
5182
+ blue100: colors.blue100,
5183
+ alertYellow500: colors.alert500
5175
5184
  },
5176
5185
  border: {
5177
5186
  primary: colors.neutral900,
@@ -5537,7 +5546,7 @@
5537
5546
  d = "date",
5538
5547
  l = "Invalid Date",
5539
5548
  $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
5540
- y = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
5549
+ y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
5541
5550
  M = {
5542
5551
  name: "en",
5543
5552
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
@@ -5877,9 +5886,9 @@
5877
5886
  return this.$d.toUTCString();
5878
5887
  }, M;
5879
5888
  }(),
5880
- Y = _.prototype;
5881
- return O.prototype = Y, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
5882
- Y[t[1]] = function (e) {
5889
+ k = _.prototype;
5890
+ return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function (t) {
5891
+ k[t[1]] = function (e) {
5883
5892
  return this.$g(e, t[0], t[1]);
5884
5893
  };
5885
5894
  }), O.extend = function (t, e) {
@@ -15933,16 +15942,35 @@
15933
15942
  }, getCheckboxColor(theme, !!disabled, !!checked)), rest);
15934
15943
  };
15935
15944
  var StyledRoot = _default.div(function (_a) {
15936
- var css = _a.css,
15937
- rest = __rest$2(_a, ["css"]);
15938
- return getCheckboxRootStyles(__assign$4(__assign$4({}, rest), css));
15945
+ var css = _a.css;
15946
+ _a.children;
15947
+ _a.onClick;
15948
+ _a.className;
15949
+ _a.color;
15950
+ var theme = _a.theme,
15951
+ disabled = _a.disabled,
15952
+ rest = __rest$2(_a, ["css", "children", "onClick", "className", "color", "theme", "disabled"]);
15953
+ return getCheckboxRootStyles(__assign$4(__assign$4(__assign$4({}, rest), css), {
15954
+ theme: theme,
15955
+ disabled: disabled
15956
+ }));
15939
15957
  });
15940
15958
  var StyledCheckbox = _default.div(function (_a) {
15941
15959
  var theme = _a.theme,
15942
15960
  css = _a.css,
15943
- rest = __rest$2(_a, ["theme", "css"]);
15961
+ checked = _a.checked,
15962
+ disabled = _a.disabled,
15963
+ width = _a.width,
15964
+ height = _a.height;
15965
+ _a.className;
15966
+ _a.children;
15967
+ var rest = __rest$2(_a, ["theme", "css", "checked", "disabled", "width", "height", "className", "children"]);
15944
15968
  return getCheckboxStyles(__assign$4(__assign$4(__assign$4({}, rest), css), {
15945
- theme: theme
15969
+ theme: theme,
15970
+ checked: checked,
15971
+ disabled: disabled,
15972
+ width: width,
15973
+ height: height
15946
15974
  }));
15947
15975
  });
15948
15976
  var Input$1 = _default.input(function (_a) {