@pingux/astro 2.13.0-alpha.10 → 2.13.0-alpha.11
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.
@@ -22,6 +22,7 @@ var _CreateIcon = _interopRequireDefault(require("@pingux/mdi-react/CreateIcon")
|
|
22
22
|
var _DeleteIcon = _interopRequireDefault(require("@pingux/mdi-react/DeleteIcon"));
|
23
23
|
var _uuid = require("uuid");
|
24
24
|
var _index = require("../index");
|
25
|
+
var _figmaLinks = require("../utils/designUtils/figmaLinks.js");
|
25
26
|
var _react2 = require("@emotion/react");
|
26
27
|
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); }
|
27
28
|
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; }
|
@@ -268,6 +269,12 @@ var Display = function Display() {
|
|
268
269
|
})));
|
269
270
|
};
|
270
271
|
exports.Display = Display;
|
272
|
+
Display.parameters = {
|
273
|
+
design: {
|
274
|
+
type: 'figma',
|
275
|
+
url: _figmaLinks.FIGMA_LINKS.attributeMappings.display
|
276
|
+
}
|
277
|
+
};
|
271
278
|
var DisplayWithError = function DisplayWithError() {
|
272
279
|
var withError = true;
|
273
280
|
var withErrorSx = {
|
@@ -421,6 +428,12 @@ var Edit = function Edit() {
|
|
421
428
|
})))));
|
422
429
|
};
|
423
430
|
exports.Edit = Edit;
|
431
|
+
Edit.parameters = {
|
432
|
+
design: {
|
433
|
+
type: 'figma',
|
434
|
+
url: _figmaLinks.FIGMA_LINKS.attributeMappings.edit
|
435
|
+
}
|
436
|
+
};
|
424
437
|
var EditRow = /*#__PURE__*/(0, _react.memo)(function (props) {
|
425
438
|
var isDisabled = props.isDisabled,
|
426
439
|
isNewRow = props.isNewRow,
|
@@ -9,6 +9,11 @@ var FIGMA_LINKS = {
|
|
9
9
|
accordionGroup: {
|
10
10
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=446-1808&t=8Wwd3tIBh3GEjCJB-0'
|
11
11
|
},
|
12
|
+
attributeMappings: {
|
13
|
+
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=15076%3A33905&mode=dev',
|
14
|
+
display: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=15077-33982&t=VgqEexa1CXAXfPpp-0',
|
15
|
+
edit: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=15077-35822&t=VgqEexa1CXAXfPpp-0'
|
16
|
+
},
|
12
17
|
badge: {
|
13
18
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=1899-11550&t=VgqEexa1CXAXfPpp-0',
|
14
19
|
countBadge: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=4255%3A12558&t=3b86het2R9G2Zyo2-1'
|
@@ -11,6 +11,7 @@ import CreateIcon from '@pingux/mdi-react/CreateIcon';
|
|
11
11
|
import DeleteIcon from '@pingux/mdi-react/DeleteIcon';
|
12
12
|
import { v4 as uuid } from 'uuid';
|
13
13
|
import { Badge, Box, Button, ComboBoxField, HelpHint, Icon, IconButton, Item, ScrollBox, Separator, Text, TextField } from '../index';
|
14
|
+
import { FIGMA_LINKS } from '../utils/designUtils/figmaLinks.js';
|
14
15
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
15
16
|
export default {
|
16
17
|
title: 'Recipes/Attribute Mappings'
|
@@ -253,6 +254,12 @@ export var Display = function Display() {
|
|
253
254
|
rightValue: "password"
|
254
255
|
})));
|
255
256
|
};
|
257
|
+
Display.parameters = {
|
258
|
+
design: {
|
259
|
+
type: 'figma',
|
260
|
+
url: FIGMA_LINKS.attributeMappings.display
|
261
|
+
}
|
262
|
+
};
|
256
263
|
export var DisplayWithError = function DisplayWithError() {
|
257
264
|
var withError = true;
|
258
265
|
var withErrorSx = {
|
@@ -404,6 +411,12 @@ export var Edit = function Edit() {
|
|
404
411
|
}));
|
405
412
|
})))));
|
406
413
|
};
|
414
|
+
Edit.parameters = {
|
415
|
+
design: {
|
416
|
+
type: 'figma',
|
417
|
+
url: FIGMA_LINKS.attributeMappings.edit
|
418
|
+
}
|
419
|
+
};
|
407
420
|
var EditRow = /*#__PURE__*/memo(function (props) {
|
408
421
|
var isDisabled = props.isDisabled,
|
409
422
|
isNewRow = props.isNewRow,
|
@@ -2,6 +2,11 @@ export var FIGMA_LINKS = {
|
|
2
2
|
accordionGroup: {
|
3
3
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=446-1808&t=8Wwd3tIBh3GEjCJB-0'
|
4
4
|
},
|
5
|
+
attributeMappings: {
|
6
|
+
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=15076%3A33905&mode=dev',
|
7
|
+
display: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=15077-33982&t=VgqEexa1CXAXfPpp-0',
|
8
|
+
edit: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=15077-35822&t=VgqEexa1CXAXfPpp-0'
|
9
|
+
},
|
5
10
|
badge: {
|
6
11
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=1899-11550&t=VgqEexa1CXAXfPpp-0',
|
7
12
|
countBadge: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=4255%3A12558&t=3b86het2R9G2Zyo2-1'
|