td-stylekit 30.1.0 → 30.3.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 +10 -1
- 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.3.0](https://github.com/treasure-data/td-stylekit/compare/v30.2.0...v30.3.0) (2024-11-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **CON-17406:** Add save icon for engage studio ([#1614](https://github.com/treasure-data/td-stylekit/issues/1614)) ([c7add45](https://github.com/treasure-data/td-stylekit/commit/c7add4519e8ae3f88917bdaa24703372dedf33ce))
|
|
7
|
+
|
|
8
|
+
# [30.2.0](https://github.com/treasure-data/td-stylekit/compare/v30.1.0...v30.2.0) (2024-11-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **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))
|
|
14
|
+
|
|
1
15
|
# [30.1.0](https://github.com/treasure-data/td-stylekit/compare/v30.0.1...v30.1.0) (2024-10-21)
|
|
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']>;
|
|
@@ -208,6 +212,8 @@ export type IconTypes = {
|
|
|
208
212
|
RoleIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
209
213
|
SQLNav: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
210
214
|
SQLNavIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
215
|
+
Save: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
216
|
+
SaveIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
211
217
|
Schema: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
212
218
|
SchemaIcon: React.ComponentType<JSX.IntrinsicElements['svg']>;
|
|
213
219
|
Search: 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", {
|
|
@@ -384,6 +391,8 @@ export const types = {typesv5: {Activation: /*#__PURE__*/React.createElement("pa
|
|
|
384
391
|
}),SQLNav: /*#__PURE__*/React.createElement("path", {
|
|
385
392
|
d: "M4 3.875a2 2 0 0 0-2 2v12.25a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V5.875a2 2 0 0 0-2-2zm5.927 4.49A1.15 1.15 0 0 0 8.3 8.346L5.26 11.32a1.15 1.15 0 0 0 .041 1.684l3.041 2.69a1.15 1.15 0 0 0 1.524-1.723L7.751 12.1 9.908 9.99a1.15 1.15 0 0 0 .019-1.626m4.146 0a1.15 1.15 0 0 1 1.627-.019l3.04 2.973a1.15 1.15 0 0 1-.041 1.684l-3.041 2.69a1.15 1.15 0 0 1-1.524-1.723l2.115-1.87-2.157-2.109a1.15 1.15 0 0 1-.019-1.626",
|
|
386
393
|
fillRule: "evenodd"
|
|
394
|
+
}),Save: /*#__PURE__*/React.createElement("path", {
|
|
395
|
+
d: "M16.965 4.52A1.78 1.78 0 0 0 15.708 4h-9.93C4.79 4 4 4.8 4 5.778v12.444C4 19.204 4.796 20 5.778 20h12.444C19.2 20 20 19.2 20 18.222v-9.93c0-.472-.188-.924-.52-1.257zM12 18.223a2.663 2.663 0 0 1-2.667-2.666A2.663 2.663 0 0 1 12 12.889a2.663 2.663 0 0 1 2.667 2.667A2.663 2.663 0 0 1 12 18.222m1.778-8.889H6.667a.89.89 0 0 1-.89-.889V6.667a.89.89 0 0 1 .89-.89h7.11a.89.89 0 0 1 .89.89v1.777a.89.89 0 0 1-.89.89"
|
|
387
396
|
}),Schema: /*#__PURE__*/React.createElement("path", {
|
|
388
397
|
d: "M7 2h5a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1.7v3H12a1 1 0 0 1 1 1v.7h2V11a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1.7v4.5a.8.8 0 0 1-.8.8H9v.7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v.7h8.7V15H16a1 1 0 0 1-1-1v-.7h-2v.7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h1.7V7H7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1"
|
|
389
398
|
}),Search: /*#__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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9Nb2RhbC9jb21wb25lbnRzL0ZseW91dC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXlCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9Nb2RhbC9jb21wb25lbnRzL0ZseW91dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBGTFlPVVRfV0lEVEggfSBmcm9tICcuLi9jb25zdGFudHMnXG5cbmV4cG9ydCBjb25zdCBDb250YWluZXIgPSBzdHlsZWQoJ2RpdicpKCh7IHRoZW1lIH0pID0+
|
|
34
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9Nb2RhbC9jb21wb25lbnRzL0ZseW91dC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXlCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9Nb2RhbC9jb21wb25lbnRzL0ZseW91dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBGTFlPVVRfV0lEVEggfSBmcm9tICcuLi9jb25zdGFudHMnXG5cbmV4cG9ydCBjb25zdCBDb250YWluZXIgPSBzdHlsZWQoJ2RpdicpKCh7IHRoZW1lIH0pID0+ICh7XG4gIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICByaWdodDogLUZMWU9VVF9XSURUSCxcbiAgdG9wOiB0aGVtZS5zcGFjZVs1XSxcbiAgYm90dG9tOiB0aGVtZS5zcGFjZVs1XSxcbiAgd2lkdGg6IEZMWU9VVF9XSURUSCxcbiAgcGFkZGluZzogdGhlbWUuc3BhY2VbNF0sXG4gIG92ZXJmbG93OiAnaGlkZGVuJyxcbiAgYm94U2hhZG93OiB0aGVtZS5zaGFkb3dzLmZseW91dCxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZS5wYWxldHRlLm5ldXRyYWxbMl0sXG4gIGJvcmRlclRvcFJpZ2h0UmFkaXVzOiB0aGVtZS5yYWRpdXNbMl0sXG4gIGJvcmRlckJvdHRvbVJpZ2h0UmFkaXVzOiB0aGVtZS5yYWRpdXNbMl1cbn0pKVxuXG50eXBlIE1vZGFsRmx5b3V0UHJvcHMgPSB7XG4gIGNoaWxkcmVuOiBSZWFjdE5vZGVcbn1cbi8qKlxuICogQGRlcHJlY2F0ZWQgVGhpcyBwYXR0ZXJuIGlzIGRpc2NvbnRpbnVlZC5cbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gTW9kYWxGbHlvdXQoeyBjaGlsZHJlbiB9OiBNb2RhbEZseW91dFByb3BzKSB7XG4gIHJldHVybiA8Q29udGFpbmVyPntjaGlsZHJlbn08L0NvbnRhaW5lcj5cbn1cbiJdfQ== */");
|
|
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
|