@dhis2-ui/tag 9.3.0-alpha.1 → 9.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.
@@ -20,10 +20,10 @@ const TagIcon = _ref => {
20
20
  } = _ref;
21
21
  return /*#__PURE__*/_react.default.createElement("div", {
22
22
  "data-test": dataTest,
23
- className: "jsx-1638813748"
23
+ className: "jsx-1699986925"
24
24
  }, children, /*#__PURE__*/_react.default.createElement(_style.default, {
25
- id: "1638813748"
26
- }, [".jsx-1638813748{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-inline-end:4px;max-height:16px;max-width:16px;}"]));
25
+ id: "1699986925"
26
+ }, [".jsx-1699986925{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:4px;max-height:16px;max-width:16px;}"]));
27
27
  };
28
28
 
29
29
  exports.TagIcon = TagIcon;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.WithLargeIcon = exports.WithIcon = exports.WithClippedTextAndMaxWidth = exports.WithClippedLongText = exports.RTL = exports.Positive = exports.Neutral = exports.Negative = exports.Default = exports.Bold = void 0;
6
+ exports.default = exports.WithLargeIcon = exports.WithIcon = exports.WithClippedTextAndMaxWidth = exports.WithClippedLongText = exports.Positive = exports.Neutral = exports.Negative = exports.Default = exports.Bold = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
@@ -124,13 +124,4 @@ exports.WithClippedTextAndMaxWidth = WithClippedTextAndMaxWidth;
124
124
  WithClippedTextAndMaxWidth.args = {
125
125
  children: 'I am long text',
126
126
  maxWidth: '50px'
127
- };
128
-
129
- const RTL = args => /*#__PURE__*/_react.default.createElement("div", {
130
- dir: "rtl"
131
- }, /*#__PURE__*/_react.default.createElement(Template, args));
132
-
133
- exports.RTL = RTL;
134
- RTL.args = {
135
- icon: /*#__PURE__*/_react.default.createElement(ExampleIcon, null)
136
127
  };
@@ -8,10 +8,10 @@ export const TagIcon = _ref => {
8
8
  } = _ref;
9
9
  return /*#__PURE__*/React.createElement("div", {
10
10
  "data-test": dataTest,
11
- className: "jsx-1638813748"
11
+ className: "jsx-1699986925"
12
12
  }, children, /*#__PURE__*/React.createElement(_JSXStyle, {
13
- id: "1638813748"
14
- }, [".jsx-1638813748{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-inline-end:4px;max-height:16px;max-width:16px;}"]));
13
+ id: "1699986925"
14
+ }, [".jsx-1699986925{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:4px;max-height:16px;max-width:16px;}"]));
15
15
  };
16
16
  TagIcon.propTypes = {
17
17
  dataTest: PropTypes.string.isRequired,
@@ -103,10 +103,4 @@ export const WithClippedTextAndMaxWidth = Template.bind({});
103
103
  WithClippedTextAndMaxWidth.args = {
104
104
  children: 'I am long text',
105
105
  maxWidth: '50px'
106
- };
107
- export const RTL = args => /*#__PURE__*/React.createElement("div", {
108
- dir: "rtl"
109
- }, /*#__PURE__*/React.createElement(Template, args));
110
- RTL.args = {
111
- icon: /*#__PURE__*/React.createElement(ExampleIcon, null)
112
106
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/tag",
3
- "version": "9.3.0-alpha.1",
3
+ "version": "9.3.0",
4
4
  "description": "UI Tag",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@dhis2/prop-types": "^3.1.2",
36
- "@dhis2/ui-constants": "9.3.0-alpha.1",
36
+ "@dhis2/ui-constants": "9.3.0",
37
37
  "classnames": "^2.3.1",
38
38
  "prop-types": "^15.7.2"
39
39
  },