@pingux/astro 2.18.1-alpha.2 → 2.19.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.
@@ -18,6 +18,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/he
18
18
  var _react = _interopRequireDefault(require("react"));
19
19
  var _TrashIcon = _interopRequireDefault(require("@pingux/mdi-react/TrashIcon"));
20
20
  var _index = require("../index");
21
+ var _figmaLinks = require("../utils/designUtils/figmaLinks.js");
21
22
  var _react2 = require("@emotion/react");
22
23
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
24
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -198,6 +199,12 @@ var DisplaySectionHeader = function DisplaySectionHeader(_ref2) {
198
199
  }, ofTheConditionsAreTrueCopy));
199
200
  };
200
201
  exports.DisplaySectionHeader = DisplaySectionHeader;
202
+ Display.parameters = {
203
+ design: {
204
+ type: 'figma',
205
+ url: _figmaLinks.FIGMA_LINKS.conditionFilter.display
206
+ }
207
+ };
201
208
  var Edit = function Edit() {
202
209
  var trashButton = (0, _react2.jsx)(_index.IconButton, {
203
210
  "aria-label": "deleteButton",
@@ -494,4 +501,10 @@ var Edit = function Edit() {
494
501
  alignSelf: "start"
495
502
  }, trashButton))));
496
503
  };
497
- exports.Edit = Edit;
504
+ exports.Edit = Edit;
505
+ Edit.parameters = {
506
+ design: {
507
+ type: 'figma',
508
+ url: _figmaLinks.FIGMA_LINKS.conditionFilter.edit
509
+ }
510
+ };
@@ -39,6 +39,10 @@ var FIGMA_LINKS = {
39
39
  collapsiblePanel: {
40
40
  "default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=14546-33229&t=VgqEexa1CXAXfPpp-0'
41
41
  },
42
+ conditionFilter: {
43
+ display: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=218%3A574&mode=dev',
44
+ edit: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=218%3A597&mode=dev'
45
+ },
42
46
  copyText: {
43
47
  "default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=218-1442&t=8Wwd3tIBh3GEjCJB-0'
44
48
  },
@@ -13,6 +13,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
13
13
  import React from 'react';
14
14
  import TrashIcon from '@pingux/mdi-react/TrashIcon';
15
15
  import { Badge, Box, Bracket, Button, Icon, IconButton, Item, RockerButton, RockerButtonGroup, SelectField, Text, TextField } from '../index';
16
+ import { FIGMA_LINKS } from '../utils/designUtils/figmaLinks.js';
16
17
  import { jsx as ___EmotionJSX } from "@emotion/react";
17
18
  export default {
18
19
  title: 'Recipes/Condition Filter'
@@ -187,6 +188,12 @@ export var DisplaySectionHeader = function DisplaySectionHeader(_ref2) {
187
188
  alignSelf: "center"
188
189
  }, ofTheConditionsAreTrueCopy));
189
190
  };
191
+ Display.parameters = {
192
+ design: {
193
+ type: 'figma',
194
+ url: FIGMA_LINKS.conditionFilter.display
195
+ }
196
+ };
190
197
  export var Edit = function Edit() {
191
198
  var trashButton = ___EmotionJSX(IconButton, {
192
199
  "aria-label": "deleteButton",
@@ -482,4 +489,10 @@ export var Edit = function Edit() {
482
489
  }))), ___EmotionJSX(Box, {
483
490
  alignSelf: "start"
484
491
  }, trashButton))));
492
+ };
493
+ Edit.parameters = {
494
+ design: {
495
+ type: 'figma',
496
+ url: FIGMA_LINKS.conditionFilter.edit
497
+ }
485
498
  };
@@ -32,6 +32,10 @@ export var FIGMA_LINKS = {
32
32
  collapsiblePanel: {
33
33
  "default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=14546-33229&t=VgqEexa1CXAXfPpp-0'
34
34
  },
35
+ conditionFilter: {
36
+ display: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=218%3A574&mode=dev',
37
+ edit: 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?node-id=218%3A597&mode=dev'
38
+ },
35
39
  copyText: {
36
40
  "default": 'https://www.figma.com/file/bpbEw54gTTcdIiZs4PKK1p/Astro-Specs?type=design&node-id=218-1442&t=8Wwd3tIBh3GEjCJB-0'
37
41
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.18.1-alpha.2",
3
+ "version": "2.19.0-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",