td-stylekit 30.0.1 → 30.2.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.
- package/CHANGELOG.md +14 -0
- package/dist/es/Icon/staticTypes.d.ts +6 -0
- package/dist/es/Icon/types.js +14 -2
- package/dist/es/Modal/Modal.d.ts +1 -0
- package/dist/es/Modal/Modal.js +1 -0
- package/dist/es/Modal/components/Flyout.d.ts +3 -0
- package/dist/es/Modal/components/Flyout.js +4 -1
- package/dist/es/Modal/components/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [30.2.0](https://github.com/treasure-data/td-stylekit/compare/v30.1.0...v30.2.0) (2024-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **CON-17227:** Add new megaphone and mail icon ([#1613](https://github.com/treasure-data/td-stylekit/issues/1613)) ([6bdd461](https://github.com/treasure-data/td-stylekit/commit/6bdd4614d4f367a9e1b6d66eb90da63ec29ea2c4))
|
|
7
|
+
|
|
8
|
+
# [30.1.0](https://github.com/treasure-data/td-stylekit/compare/v30.0.1...v30.1.0) (2024-10-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **CON-17103:** Add personalization icon ([#1611](https://github.com/treasure-data/td-stylekit/issues/1611)) ([8220f10](https://github.com/treasure-data/td-stylekit/commit/8220f10e4ade1c92b2b48e09965e106c8ce6374e))
|
|
14
|
+
|
|
1
15
|
## [30.0.1](https://github.com/treasure-data/td-stylekit/compare/v30.0.0...v30.0.1) (2024-10-02)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -154,10 +154,14 @@ export type IconTypes = {
|
|
|
154
154
|
LockNavIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
155
155
|
LoginSettings: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
156
156
|
LoginSettingsIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
157
|
+
Mail: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
158
|
+
MailIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
157
159
|
Markdown: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
158
160
|
MarkdownIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
159
161
|
MasterSegment: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
160
162
|
MasterSegmentIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
163
|
+
Megaphone: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
164
|
+
MegaphoneIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
161
165
|
Mixin: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
162
166
|
MixinIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
163
167
|
More: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
@@ -174,6 +178,8 @@ export type IconTypes = {
|
|
|
174
178
|
NewDocumentIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
175
179
|
NewTable: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
176
180
|
NewTableIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
181
|
+
Personalization: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
182
|
+
PersonalizationIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
177
183
|
Policies: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
178
184
|
PoliciesIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
179
185
|
PredictiveModel: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
package/dist/es/Icon/types.js
CHANGED
|
@@ -282,6 +282,10 @@ export const types = {typesv5: {Activation: /*#__PURE__*/React.createElement("pa
|
|
|
282
282
|
}), /*#__PURE__*/React.createElement("path", {
|
|
283
283
|
d: "M18.622 12.762c.135-.27.087-.66-.241-.826l-.604-.325-.006-.004c-.27-.135-.66-.086-.826.245l-.006.013c-.103.24-.344.419-.672.419-.322 0-.576-.175-.728-.439-.168-.325-.555-.372-.823-.238l-.021.012-.504.321c-.35.182-.503.55-.317.84.15.267.179.591.002.876l-.011.019a.79.79 0 0 1-.725.432.6.6 0 0 0-.607.607v.701c0 .177.089.32.201.414a.64.64 0 0 0 .406.147c.29 0 .586.143.776.442.151.31.143.643.001.891l-.006.012c-.135.27-.087.66.242.826l.595.321c.15.095.325.08.456.027a.65.65 0 0 0 .335-.304c.15-.258.447-.439.728-.439.322 0 .576.176.728.44.167.324.554.371.823.237l.004-.002.516-.282.009-.005a.76.76 0 0 0 .333-.386.54.54 0 0 0-.07-.502c-.147-.265-.175-.584-.003-.865.19-.263.491-.41.786-.41a.6.6 0 0 0 .607-.608v-.701a.6.6 0 0 0-.185-.423.6.6 0 0 0-.45-.183c-.27.033-.556-.096-.748-.397-.151-.31-.143-.643-.001-.891zm-1.235 2.274a1.12 1.12 0 1 1-2.24 0 1.12 1.12 0 0 1 2.24 0",
|
|
284
284
|
fillRule: "evenodd"
|
|
285
|
+
})),Mail: /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
286
|
+
d: "m19.49 6.456-6.995 4.416a.93.93 0 0 1-.99 0L4.482 6.494a.583.583 0 0 1-.174-.83A1.59 1.59 0 0 1 5.6 5h12.8c.502 0 .947.234 1.24.597a.587.587 0 0 1-.15.859"
|
|
287
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
288
|
+
d: "m4.585 8.676 6.92 4.314a.94.94 0 0 0 .99 0l6.919-4.363A.382.382 0 0 1 20 8.95v7.549a1.6 1.6 0 0 1-1.6 1.6H5.6a1.6 1.6 0 0 1-1.6-1.6V9c0-.3.33-.483.585-.325"
|
|
285
289
|
})),Markdown: /*#__PURE__*/React.createElement("path", {
|
|
286
290
|
d: "M5.6 5A1.6 1.6 0 0 0 4 6.6v9.8A1.6 1.6 0 0 0 5.6 18h12.8a1.6 1.6 0 0 0 1.6-1.6V6.6A1.6 1.6 0 0 0 18.4 5zm7.052 3q.375 0 .611.244.237.245.237.636v5.318q0 .372-.217.587a.78.78 0 0 1-.572.215.8.8 0 0 1-.572-.215q-.216-.215-.216-.587v-2.874l-1.124 2.053q-.168.313-.355.45a.77.77 0 0 1-.444.127.77.77 0 0 1-.444-.127q-.187-.136-.355-.45l-1.114-1.994v2.815a.8.8 0 0 1-.226.587.78.78 0 0 1-.572.215.8.8 0 0 1-.572-.215q-.217-.215-.217-.587V8.88q0-.39.237-.636A.85.85 0 0 1 7.357 8q.268 0 .484.156.216.148.365.43l1.814 3.383 1.804-3.382Q12.13 8 12.652 8m3.612 6.913-1.68-1.542c-.187-.173-.042-.45.236-.45h.91V9c0-.296 0-1 .77-1s.77.704.77 1v3.921h.91c.278 0 .423.277.236.45l-1.68 1.542a.36.36 0 0 1-.472 0",
|
|
287
291
|
fillRule: "evenodd"
|
|
@@ -290,7 +294,10 @@ export const types = {typesv5: {Activation: /*#__PURE__*/React.createElement("pa
|
|
|
290
294
|
fillRule: "evenodd"
|
|
291
295
|
}), /*#__PURE__*/React.createElement("path", {
|
|
292
296
|
d: "M17.1 8.906a.3.3 0 0 1-.3-.3V4.937c0-.188.172-.33.353-.279C18.8 5.122 20 6.555 20 8.25v.356a.3.3 0 0 1-.3.3zM16.8 10.706a.3.3 0 0 1 .3-.3h2.6a.3.3 0 0 1 .3.3v2.588a.3.3 0 0 1-.3.3h-2.6a.3.3 0 0 1-.3-.3zM16.8 15.394a.3.3 0 0 1 .3-.3h2.6a.3.3 0 0 1 .3.3v.356c0 1.695-1.2 3.128-2.847 3.592-.181.05-.353-.091-.353-.28z"
|
|
293
|
-
})),
|
|
297
|
+
})),Megaphone: /*#__PURE__*/React.createElement("path", {
|
|
298
|
+
d: "M18.126 14.107A3.2 3.2 0 0 0 20 11.194v-.8a3.2 3.2 0 0 0-3.2-3.2h-2.4l-.103.001-8.058-3.06A1.6 1.6 0 0 0 4 5.602v10.383a1.6 1.6 0 0 0 2.24 1.467L12 15.393v2.453a2.333 2.333 0 0 0 4.532.777zm-3.462-5.313v4H16.8a1.6 1.6 0 0 0 1.6-1.6v-.8a1.6 1.6 0 0 0-1.6-1.6zm-.264 5.6-.102-.002-.698.304v3.15a.733.733 0 0 0 1.423.244l1.305-3.696z",
|
|
299
|
+
fillRule: "evenodd"
|
|
300
|
+
}),Mixin: /*#__PURE__*/React.createElement("path", {
|
|
294
301
|
d: "M8 4h4a.8.8 0 0 1 .8.8v2.4a.8.8 0 0 1-.8.8h-1.245v2.4H12a.8.8 0 0 1 .8.8v.44h1.6v-.44a.8.8 0 0 1 .8-.8h4a.8.8 0 0 1 .8.8v2.4a.8.8 0 0 1-.8.8h-1.261v2.997c0 .69-.56 1.25-1.25 1.25H9.654v.309a1.15 1.15 0 0 1-1.15 1.15h-3.61a1.15 1.15 0 0 1-1.15-1.15v-2.147c0-.636.515-1.15 1.15-1.15h3.61c.635 0 1.15.515 1.15 1.15v.338h6.785V14.4H15.2a.8.8 0 0 1-.8-.8v-.46h-1.6v.46a.8.8 0 0 1-.8.8H8a.8.8 0 0 1-.8-.8v-2.4a.8.8 0 0 1 .8-.8h1.255V8H8a.8.8 0 0 1-.8-.8V4.8A.8.8 0 0 1 8 4M5.044 18.806v-1.847h3.31v1.847z",
|
|
295
302
|
fillRule: "evenodd"
|
|
296
303
|
}),More: /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
@@ -320,7 +327,12 @@ export const types = {typesv5: {Activation: /*#__PURE__*/React.createElement("pa
|
|
|
320
327
|
d: "M17.942 15.68a1 1 0 0 1 1 1v1.16h1.16a1 1 0 1 1 0 2h-1.16V21a1 1 0 1 1-2 0v-1.16h-1.16a1 1 0 1 1 0-2h1.16v-1.16a1 1 0 0 1 1-1"
|
|
321
328
|
})),NewTable: /*#__PURE__*/React.createElement("path", {
|
|
322
329
|
d: "M7.76 9.708v3.315H3.984V9.708zM3.984 16.76v-1.987H7.76v3.794H5.79c-.998 0-1.807-.81-1.807-1.807M11.851 18.567H9.51v-3.794h2.004a5 5 0 0 0-.219 1.48c0 .833.2 1.62.556 2.314M16.379 11.169c-.616 0-1.205.11-1.75.31V9.707h3.812v1.896a5.1 5.1 0 0 0-2.062-.435M18.44 5.917v2.04h-3.812V4.11h2.006c.997 0 1.807.81 1.807 1.807M9.51 4.11h3.368v3.848H9.51zM5.791 4.11H7.76v3.848H3.984v-2.04c0-.999.81-1.808 1.807-1.808M9.51 9.708v3.315h2.942q.2-.24.426-.457V9.708zM16.379 12.615a1 1 0 0 1 1 1v1.637h1.637a1 1 0 0 1 0 2h-1.637v1.638a1 1 0 1 1-2 0v-1.638h-1.637a1 1 0 1 1 0-2h1.637v-1.637a1 1 0 0 1 1-1"
|
|
323
|
-
}),
|
|
330
|
+
}),Personalization: /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
331
|
+
d: "M12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0 2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",
|
|
332
|
+
fillRule: "evenodd"
|
|
333
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
334
|
+
d: "M11.287 8.195c.224-.69 1.202-.69 1.426 0l.466 1.433a.75.75 0 0 0 .713.518h1.506c.727 0 1.029.93.44 1.357l-1.217.885a.75.75 0 0 0-.273.838l.465 1.433c.225.69-.566 1.265-1.154.838l-1.218-.885a.75.75 0 0 0-.882 0l-1.218.885c-.588.427-1.379-.147-1.154-.838l.465-1.433a.75.75 0 0 0-.272-.838l-1.219-.885c-.588-.427-.286-1.357.44-1.357h1.507a.75.75 0 0 0 .713-.518z"
|
|
335
|
+
})),Policies: /*#__PURE__*/React.createElement("path", {
|
|
324
336
|
d: "M7.5 8.5a4.5 4.5 0 0 1 9 0V12a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2zm7 0V12h-5V8.5a2.5 2.5 0 0 1 5 0M12 17.93a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5",
|
|
325
337
|
fillRule: "evenodd"
|
|
326
338
|
}),PredictiveModel: /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
package/dist/es/Modal/Modal.d.ts
CHANGED
package/dist/es/Modal/Modal.js
CHANGED
|
@@ -111,5 +111,6 @@ _defineProperty(Modal, "Body", _components.Body);
|
|
|
111
111
|
_defineProperty(Modal, "MenuBody", _components.MenuBody);
|
|
112
112
|
_defineProperty(Modal, "Header", _components.Header);
|
|
113
113
|
_defineProperty(Modal, "Message", _components.ModalMessage);
|
|
114
|
+
// eslint-disable-next-line deprecation/deprecation
|
|
114
115
|
_defineProperty(Modal, "Flyout", _components.Flyout);
|
|
115
116
|
var _default = exports["default"] = Modal;
|
|
@@ -6,6 +6,9 @@ export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
|
6
6
|
type ModalFlyoutProps = {
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated This pattern is discontinued.
|
|
11
|
+
*/
|
|
9
12
|
export default function ModalFlyout({ children }: ModalFlyoutProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
13
|
export {};
|
|
11
14
|
//# sourceMappingURL=Flyout.d.ts.map
|
|
@@ -31,7 +31,10 @@ var Container = exports.Container = /*#__PURE__*/(0, _base["default"])('div', pr
|
|
|
31
31
|
borderTopRightRadius: theme.radius[2],
|
|
32
32
|
borderBottomRightRadius: theme.radius[2]
|
|
33
33
|
};
|
|
34
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9Nb2RhbC9jb21wb25lbnRzL0ZseW91dC50c3giXSwibmFtZXMiOltd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iAgcGFkZGluZzogdGhlbWUuc3BhY2VbNF0sXG4gIG92ZXJmbG93OiAnaGlkZGVuJyxcbiAgYm94U2hhZG93OiB0aGVtZS5zaGFkb3dzLmZseW91dCxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZS5wYWxldHRlLm5ldXRyYWxbMl0sXG4gIGJvcmRlclRvcFJpZ2h0UmFkaXVzOiB0aGVtZS5yYWRpdXNbMl0sXG4gIGJvcmRlckJvdHRvbVJpZ2h0UmFkaXVzOiB0aGVtZS5yYWRpdXNbMl1cbn0pKVxuXG50eXBlIE1vZGFsRmx5b3V0UHJvcHMgPSB7XG4gIGNoaWxkcmVuOiBSZWFjdE5vZGVcbn1cbi8qKlxuICogQGRlcHJlY2F0ZWQgVGhpcyBwYXR0ZXJuIGlzIGRpc2NvbnRpbnVlZC5cbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gTW9kYWxGbHlvdXQoeyBjaGlsZHJlbiB9OiBNb2RhbEZseW91dFByb3BzKSB7XG4gIHJldHVybiA8Q29udGFpbmVyPntjaGlsZHJlbn08L0NvbnRhaW5lcj5cbn1cbiJdfQ== */");
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated This pattern is discontinued.
|
|
37
|
+
*/
|
|
35
38
|
function ModalFlyout(_ref2) {
|
|
36
39
|
var children = _ref2.children;
|
|
37
40
|
return (0, _jsxRuntime.jsx)(Container, {
|
|
@@ -74,4 +74,4 @@ var _elements = require("./elements");
|
|
|
74
74
|
var _Flyout = _interopRequireDefault(require("./Flyout"));
|
|
75
75
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
76
76
|
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
77
|
-
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
77
|
+
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {}; // eslint-disable-next-line deprecation/deprecation
|