@pingux/astro 2.15.0 → 2.16.0-alpha.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.
@@ -29,6 +29,7 @@ var _MenuUpIcon = _interopRequireDefault(require("@pingux/mdi-react/MenuUpIcon")
|
|
29
29
|
var _utils = require("@react-aria/utils");
|
30
30
|
var _index = require("../index");
|
31
31
|
var _NavData = require("../styles/templates/Nav/NavData");
|
32
|
+
var _figmaLinks = require("../utils/designUtils/figmaLinks.js");
|
32
33
|
var _react2 = require("@emotion/react");
|
33
34
|
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); }
|
34
35
|
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; }
|
@@ -386,5 +387,9 @@ Default.decorators = [function (Story) {
|
|
386
387
|
}, (0, _react2.jsx)(Story, null));
|
387
388
|
}];
|
388
389
|
Default.parameters = {
|
390
|
+
design: {
|
391
|
+
type: 'figma',
|
392
|
+
url: _figmaLinks.FIGMA_LINKS.multiPagePopup["default"]
|
393
|
+
},
|
389
394
|
layout: 'fullscreen'
|
390
395
|
};
|
@@ -73,6 +73,9 @@ var FIGMA_LINKS = {
|
|
73
73
|
modal: {
|
74
74
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=7513-27244&t=8Wwd3tIBh3GEjCJB-0'
|
75
75
|
},
|
76
|
+
multiPagePopup: {
|
77
|
+
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=43112%3A1263&mode=dev'
|
78
|
+
},
|
76
79
|
navBar: {
|
77
80
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=548-3473&t=8Wwd3tIBh3GEjCJB-0'
|
78
81
|
},
|
@@ -22,6 +22,7 @@ import MenuUpIcon from '@pingux/mdi-react/MenuUpIcon';
|
|
22
22
|
import { useLayoutEffect } from '@react-aria/utils';
|
23
23
|
import { Box, Button, EnvironmentBreadcrumb, Icon, IconButton, Item, Link, Menu, NavBar, NavBarItem, NavBarItemButton, NavBarSection, OverlayProvider, PopoverContainer, PopoverMenu, Separator, Text } from '../index';
|
24
24
|
import { data, logo, PersonIcon, secondData, thirdData } from '../styles/templates/Nav/NavData';
|
25
|
+
import { FIGMA_LINKS } from '../utils/designUtils/figmaLinks.js';
|
25
26
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
26
27
|
export default {
|
27
28
|
title: 'Recipes/Multipage Popup',
|
@@ -373,5 +374,9 @@ Default.decorators = [function (Story) {
|
|
373
374
|
}, ___EmotionJSX(Story, null));
|
374
375
|
}];
|
375
376
|
Default.parameters = {
|
377
|
+
design: {
|
378
|
+
type: 'figma',
|
379
|
+
url: FIGMA_LINKS.multiPagePopup["default"]
|
380
|
+
},
|
376
381
|
layout: 'fullscreen'
|
377
382
|
};
|
@@ -66,6 +66,9 @@ export var FIGMA_LINKS = {
|
|
66
66
|
modal: {
|
67
67
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=7513-27244&t=8Wwd3tIBh3GEjCJB-0'
|
68
68
|
},
|
69
|
+
multiPagePopup: {
|
70
|
+
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=43112%3A1263&mode=dev'
|
71
|
+
},
|
69
72
|
navBar: {
|
70
73
|
"default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=548-3473&t=8Wwd3tIBh3GEjCJB-0'
|
71
74
|
},
|