@atlaskit/task-decision 19.2.12 → 19.2.13
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 +6 -19
- package/dist/cjs/components/DecisionItem.js +1 -1
- package/dist/cjs/components/DecisionList.js +1 -1
- package/dist/cjs/components/Item.compiled.css +2 -2
- package/dist/cjs/components/Item.js +2 -6
- package/dist/cjs/components/TaskItem.compiled.css +9 -3
- package/dist/cjs/components/TaskItem.js +2 -5
- package/dist/cjs/components/TaskList.js +1 -1
- package/dist/es2019/components/DecisionItem.js +1 -1
- package/dist/es2019/components/DecisionList.js +1 -1
- package/dist/es2019/components/Item.js +1 -1
- package/dist/es2019/components/TaskItem.compiled.css +8 -2
- package/dist/es2019/components/TaskItem.js +1 -1
- package/dist/es2019/components/TaskList.js +1 -1
- package/dist/esm/components/DecisionItem.js +1 -1
- package/dist/esm/components/DecisionList.js +1 -1
- package/dist/esm/components/Item.compiled.css +2 -2
- package/dist/esm/components/Item.js +2 -6
- package/dist/esm/components/TaskItem.compiled.css +9 -3
- package/dist/esm/components/TaskItem.js +2 -5
- package/dist/esm/components/TaskList.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/task-decision
|
|
2
2
|
|
|
3
|
+
## 19.2.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 19.2.12
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1123,7 +1129,6 @@
|
|
|
1123
1129
|
|
|
1124
1130
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1125
1131
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1126
|
-
|
|
1127
1132
|
- @atlaskit/docs@8.3.2
|
|
1128
1133
|
- @atlaskit/analytics-next@6.3.5
|
|
1129
1134
|
- @atlaskit/avatar-group@5.0.4
|
|
@@ -1420,12 +1425,10 @@ Bumped dependencies.
|
|
|
1420
1425
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1421
1426
|
|
|
1422
1427
|
**Breaking changes**
|
|
1423
|
-
|
|
1424
1428
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1425
1429
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1426
1430
|
|
|
1427
1431
|
**Breaking changes to TypeScript annotations**
|
|
1428
|
-
|
|
1429
1432
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1430
1433
|
props as a generic type.
|
|
1431
1434
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1482,7 +1485,6 @@ Bumped dependencies.
|
|
|
1482
1485
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1483
1486
|
|
|
1484
1487
|
In this PR, we are:
|
|
1485
|
-
|
|
1486
1488
|
- Re-introducing dist build folders
|
|
1487
1489
|
- Adding back cjs
|
|
1488
1490
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -1555,7 +1557,6 @@ Bumped dependencies.
|
|
|
1555
1557
|
## 15.0.2
|
|
1556
1558
|
|
|
1557
1559
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1558
|
-
|
|
1559
1560
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
1560
1561
|
Request #5942 for details
|
|
1561
1562
|
|
|
@@ -1569,7 +1570,6 @@ Bumped dependencies.
|
|
|
1569
1570
|
## 15.0.0
|
|
1570
1571
|
|
|
1571
1572
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1572
|
-
|
|
1573
1573
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1574
1574
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1575
1575
|
|
|
@@ -1592,13 +1592,11 @@ Bumped dependencies.
|
|
|
1592
1592
|
## 14.0.7
|
|
1593
1593
|
|
|
1594
1594
|
- [patch][a6fb248987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a6fb248987):
|
|
1595
|
-
|
|
1596
1595
|
- ED-6639 Align lists styles between editor & renderer
|
|
1597
1596
|
|
|
1598
1597
|
## 14.0.6
|
|
1599
1598
|
|
|
1600
1599
|
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
1601
|
-
|
|
1602
1600
|
- Bump tslib
|
|
1603
1601
|
|
|
1604
1602
|
## 14.0.5
|
|
@@ -1618,7 +1616,6 @@ Bumped dependencies.
|
|
|
1618
1616
|
## 14.0.4
|
|
1619
1617
|
|
|
1620
1618
|
- [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
|
|
1621
|
-
|
|
1622
1619
|
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
|
|
1623
1620
|
supplied from itself.
|
|
1624
1621
|
|
|
@@ -1640,7 +1637,6 @@ Bumped dependencies.
|
|
|
1640
1637
|
## 14.0.2
|
|
1641
1638
|
|
|
1642
1639
|
- [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
|
|
1643
|
-
|
|
1644
1640
|
- Enable esModuleInterop for typescript, this allows correct use of default exports
|
|
1645
1641
|
|
|
1646
1642
|
## 14.0.1
|
|
@@ -1654,31 +1650,26 @@ Bumped dependencies.
|
|
|
1654
1650
|
## 14.0.0
|
|
1655
1651
|
|
|
1656
1652
|
- [major][eb4323c388](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/eb4323c388):
|
|
1657
|
-
|
|
1658
1653
|
- removed cards appearance related code used by stride
|
|
1659
1654
|
|
|
1660
1655
|
## 13.2.0
|
|
1661
1656
|
|
|
1662
1657
|
- [minor][b0210d7ccc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0210d7ccc):
|
|
1663
|
-
|
|
1664
1658
|
- reset jest modules before hydration
|
|
1665
1659
|
|
|
1666
1660
|
## 13.1.1
|
|
1667
1661
|
|
|
1668
1662
|
- [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
|
|
1669
|
-
|
|
1670
1663
|
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
|
|
1671
1664
|
|
|
1672
1665
|
## 13.1.0
|
|
1673
1666
|
|
|
1674
1667
|
- [minor][b684722884](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b684722884):
|
|
1675
|
-
|
|
1676
1668
|
- improvement of SSR tests and examples for Fabric Elements
|
|
1677
1669
|
|
|
1678
1670
|
## 13.0.0
|
|
1679
1671
|
|
|
1680
1672
|
- [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
|
1681
|
-
|
|
1682
1673
|
- Dropped ES5 distributables from the typescript packages
|
|
1683
1674
|
|
|
1684
1675
|
## 12.0.2
|
|
@@ -1698,7 +1689,6 @@ Bumped dependencies.
|
|
|
1698
1689
|
## 12.0.0
|
|
1699
1690
|
|
|
1700
1691
|
- [major][72c6f68226](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/72c6f68226):
|
|
1701
|
-
|
|
1702
1692
|
- removed ResourcedItemList component from task-decision
|
|
1703
1693
|
|
|
1704
1694
|
## 11.3.2
|
|
@@ -1729,7 +1719,6 @@ Bumped dependencies.
|
|
|
1729
1719
|
## 11.3.0
|
|
1730
1720
|
|
|
1731
1721
|
- [minor][4072865c1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4072865c1c):
|
|
1732
|
-
|
|
1733
1722
|
- added SSR tests to task-decision
|
|
1734
1723
|
|
|
1735
1724
|
## 11.2.3
|
|
@@ -1757,7 +1746,6 @@ Bumped dependencies.
|
|
|
1757
1746
|
## 11.2.0
|
|
1758
1747
|
|
|
1759
1748
|
- [minor][be86cbebc3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/be86cbebc3):
|
|
1760
|
-
|
|
1761
1749
|
- enable noImplicitAny for task-decision, and related changes
|
|
1762
1750
|
|
|
1763
1751
|
## 11.1.8
|
|
@@ -1825,7 +1813,6 @@ Bumped dependencies.
|
|
|
1825
1813
|
## 11.1.0
|
|
1826
1814
|
|
|
1827
1815
|
- [minor][d9815ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d9815ba):
|
|
1828
|
-
|
|
1829
1816
|
- ED-5888 Add dark mode for task-decision
|
|
1830
1817
|
|
|
1831
1818
|
## 11.0.10
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
._18s815t0{margin:var(--_1yfnyhr)}
|
|
3
|
-
._18s81hzh{margin:var(--_tptct2)}
|
|
4
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._14hd1wug .decision-item{cursor:auto}
|
|
5
3
|
._16jlkb7n{flex-grow:1}
|
|
6
4
|
._18m915vq{overflow-y:hidden}
|
|
5
|
+
._18u0hwpb{margin-left:calc(var(--ds-space-100, 8px)*3)}
|
|
7
6
|
._18u0idpf{margin-left:0}
|
|
7
|
+
._18u0tu8f{margin-left:calc(var(--ds-space-100, 8px)*3.5)}
|
|
8
8
|
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
9
9
|
._19pkidpf{margin-top:0}
|
|
10
10
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Item.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Item.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -47,11 +47,7 @@ var Item = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
47
47
|
"data-testid": "task-decision-item-placeholder",
|
|
48
48
|
"data-component": "placeholder",
|
|
49
49
|
contentEditable: false,
|
|
50
|
-
className: (0, _runtime.ax)(["
|
|
51
|
-
style: {
|
|
52
|
-
"--_tptct2": (0, _runtime.ix)("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3.5)")),
|
|
53
|
-
"--_1yfnyhr": (0, _runtime.ix)("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3)"))
|
|
54
|
-
}
|
|
50
|
+
className: (0, _runtime.ax)(["_19pkidpf _2hwxidpf _otyridpf _18u0tu8f _1reo15vq _18m915vq _kqswstnw _syaz131l _lcxvglyw _1bto1l2s _o5721q9c _p12f1dza", itemType === 'TASK' && "_19pkidpf _2hwxidpf _otyridpf _18u0hwpb"])
|
|
55
51
|
}, placeholder);
|
|
56
52
|
}
|
|
57
53
|
}, {
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
._18a711so>input[type=checkbox]+span>svg rect:first-of-type{transition:stroke .2s ease-in-out}
|
|
3
3
|
._1abj1mn3>input[type=checkbox]+span>svg{transition:color .2s ease-in-out,fill .2s ease-in-out}
|
|
4
|
-
.
|
|
4
|
+
._den51vyt>input[type=checkbox]:focus+span:after{border:var(--ds-border-width-selected,2px) solid var(--ds-border-focused,#388bff)}
|
|
5
5
|
._zh8l1b66>input[type=checkbox]:focus+span:after{border-radius:var(--ds-space-050,4px)}._10cr1ssb>input[type=checkbox]+span>svg{top:50%}
|
|
6
6
|
._12yy1d5g>input[type=checkbox]:hover+span>svg{color:var(--ds-background-input-hovered,#f7f8f9)}
|
|
7
7
|
._13vl73ad>input[type=checkbox][disabled]{cursor:default}
|
|
8
|
+
._16fmsyzs>input[type=checkbox]:disabled:hover+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
8
9
|
._16jlidpf{flex-grow:0}
|
|
9
10
|
._16np1elr>input[type=checkbox]+span>svg rect:first-of-type{stroke:var(--ds-border-input,#8590a2)}
|
|
10
11
|
._1746glyw>input[type=checkbox]{outline-style:none}
|
|
11
12
|
._18tob3bt>input[type=checkbox]:focus+span:after{content:""}
|
|
12
13
|
._19l51ooe>input[type=checkbox]+span{transform:translate(-50%,-50%)}
|
|
14
|
+
._19w0syzs>input[type=checkbox]:disabled:hover+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
13
15
|
._1awt1ule>input[type=checkbox]:focus+span:after{display:block}
|
|
16
|
+
._1bc7syzs>input[type=checkbox]:disabled:focus+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
14
17
|
._1bsb1tcg{width:24px}
|
|
15
18
|
._1davidpf>input[type=checkbox]{opacity:0}
|
|
16
19
|
._1efjn7od>input[type=checkbox]+span>svg{max-height:unset}
|
|
20
|
+
._1eulsyzs>input[type=checkbox]:disabled:active+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
21
|
+
._1gxgsyzs>input[type=checkbox]:disabled:focus+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
17
22
|
._1h5xidpf>input[type=checkbox]{margin-top:0}
|
|
18
23
|
._1l0615vq>input[type=checkbox]+span>svg{overflow-y:hidden}
|
|
19
24
|
._1mh7kb7n>input[type=checkbox]{z-index:1}
|
|
@@ -42,11 +47,12 @@
|
|
|
42
47
|
._9j2j1ssb>input[type=checkbox]+span{top:50%}
|
|
43
48
|
._9l2s7vkz>input[type=checkbox]{height:1pc}
|
|
44
49
|
._a27kkb7n>input[type=checkbox]+span>svg rect:first-of-type{stroke-width:1}
|
|
45
|
-
._bhkusyzs>input[type=checkbox]:disabled+span>svg rect:first-of-type
|
|
50
|
+
._bhkusyzs>input[type=checkbox]:disabled+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
46
51
|
._c8dpmuej>input[type=checkbox]:checked:active+span>svg rect:first-of-type{stroke:var(--ds-border,#091e4224)}
|
|
47
52
|
._cr751ooe>input[type=checkbox]:focus+span:after{transform:translate(-50%,-50%)}
|
|
48
53
|
._cs4qstnw>input[type=checkbox]+span{position:absolute}
|
|
49
|
-
.
|
|
54
|
+
._czfesyzs>input[type=checkbox]:disabled:active+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
55
|
+
._d2dcsyzs>input[type=checkbox]:disabled+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
50
56
|
._dx3f1o36>input[type=checkbox]{outline-width:medium}
|
|
51
57
|
._fs2cidpf>input[type=checkbox]{margin-bottom:0}
|
|
52
58
|
._g5w3stnw>input[type=checkbox]:focus+span:after{position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* TaskItem.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* TaskItem.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -89,10 +89,7 @@ var TaskItem = function TaskItem(props) {
|
|
|
89
89
|
var inputRef = (0, _useCallbackRef.useMergeRefs)(inputRefFromProps === undefined ? [localInputRef] : [inputRefFromProps, localInputRef]);
|
|
90
90
|
var icon = /*#__PURE__*/_react.default.createElement("span", {
|
|
91
91
|
contentEditable: false,
|
|
92
|
-
className: (0, _runtime.ax)(["_16jlidpf _1o9zidpf _i0dl1tcg _1bsb1tcg _4t3i1tcg _kqswh2mm _1wpzv2br _1snx1r31 _1746glyw _dx3f1o36 _1h5xidpf _sqizidpf _fs2cidpf _1smcidpf _oezm15vq _1l0615vq _1abj1mn3 _18a711so _16np1elr _a27kkb7n _q3p7usvi _qhqx1nu9 _10cr1ssb _zfav1ssb _m7eu1ooe _l9o0n7od _1efjn7od _1u2istnw _32ro1j9a _1wn015vq
|
|
93
|
-
style: {
|
|
94
|
-
"--_1yxryfo": (0, _runtime.ix)("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-focused, #388BFF)"))
|
|
95
|
-
}
|
|
92
|
+
className: (0, _runtime.ax)(["_16jlidpf _1o9zidpf _i0dl1tcg _1bsb1tcg _4t3i1tcg _kqswh2mm _1wpzv2br _1snx1r31 _1746glyw _dx3f1o36 _1h5xidpf _sqizidpf _fs2cidpf _1smcidpf _oezm15vq _1l0615vq _1abj1mn3 _18a711so _16np1elr _a27kkb7n _q3p7usvi _qhqx1nu9 _10cr1ssb _zfav1ssb _m7eu1ooe _l9o0n7od _1efjn7od _1u2istnw _32ro1j9a _1wn015vq _den51vyt _zh8l1b66 _g5w3stnw _whhepxbi _1stbpxbi _18tob3bt _1awt1ule _haf81ssb _ra781ssb _cr751ooe _1q8r7vkz _9l2s7vkz _1mh7kb7n _s3uktlke _1davidpf _8bo8stnw _psnc1ssb _4k421ssb _1rvv1ooe _13vl73ad _1t711tcg _1nuz1tcg _cs4qstnw _9j2j1ssb _1mwj1ssb _19l51ooe _12yy1d5g _1miy1elr _1umo18hz _tpz25w2r _k6dg18hz _1qduewfl _q8ft1fvw _1y9t5w2r _ut031fvw _gi9hr01l _1qp6muej _wxkgr01l _wo245w2r _c8dpmuej _d2dcsyzs _1eulsyzs _1bc7syzs _16fmsyzs _bhkusyzs _czfesyzs _1gxgsyzs _19w0syzs _1x1y1lg7"])
|
|
96
93
|
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
97
94
|
id: checkBoxId,
|
|
98
95
|
"aria-label": formatMessage(isDone ? _i18n.messages.markTaskAsNotCompleted : _i18n.messages.markTaskAsCompleted),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* DecisionList.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* DecisionList.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./DecisionList.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { PureComponent } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Item.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Item.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./Item.compiled.css";
|
|
@@ -5,15 +5,20 @@
|
|
|
5
5
|
._zh8l1b66>input[type=checkbox]:focus+span:after{border-radius:var(--ds-space-050,4px)}._10cr1ssb>input[type=checkbox]+span>svg{top:50%}
|
|
6
6
|
._12yy1d5g>input[type=checkbox]:hover+span>svg{color:var(--ds-background-input-hovered,#f7f8f9)}
|
|
7
7
|
._13vl73ad>input[type=checkbox][disabled]{cursor:default}
|
|
8
|
+
._16fmsyzs>input[type=checkbox]:disabled:hover+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
8
9
|
._16jlidpf{flex-grow:0}
|
|
9
10
|
._16np1elr>input[type=checkbox]+span>svg rect:first-of-type{stroke:var(--ds-border-input,#8590a2)}
|
|
10
11
|
._1746glyw>input[type=checkbox]{outline-style:none}
|
|
11
12
|
._18tob3bt>input[type=checkbox]:focus+span:after{content:""}
|
|
12
13
|
._19l51ooe>input[type=checkbox]+span{transform:translate(-50%,-50%)}
|
|
14
|
+
._19w0syzs>input[type=checkbox]:disabled:hover+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
13
15
|
._1awt1ule>input[type=checkbox]:focus+span:after{display:block}
|
|
16
|
+
._1bc7syzs>input[type=checkbox]:disabled:focus+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
14
17
|
._1bsb1tcg{width:24px}
|
|
15
18
|
._1davidpf>input[type=checkbox]{opacity:0}
|
|
16
19
|
._1efjn7od>input[type=checkbox]+span>svg{max-height:unset}
|
|
20
|
+
._1eulsyzs>input[type=checkbox]:disabled:active+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
21
|
+
._1gxgsyzs>input[type=checkbox]:disabled:focus+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
17
22
|
._1h5xidpf>input[type=checkbox]{margin-top:0}
|
|
18
23
|
._1l0615vq>input[type=checkbox]+span>svg{overflow-y:hidden}
|
|
19
24
|
._1mh7kb7n>input[type=checkbox]{z-index:1}
|
|
@@ -42,11 +47,12 @@
|
|
|
42
47
|
._9j2j1ssb>input[type=checkbox]+span{top:50%}
|
|
43
48
|
._9l2s7vkz>input[type=checkbox]{height:1pc}
|
|
44
49
|
._a27kkb7n>input[type=checkbox]+span>svg rect:first-of-type{stroke-width:1}
|
|
45
|
-
._bhkusyzs>input[type=checkbox]:disabled+span>svg rect:first-of-type
|
|
50
|
+
._bhkusyzs>input[type=checkbox]:disabled+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
46
51
|
._c8dpmuej>input[type=checkbox]:checked:active+span>svg rect:first-of-type{stroke:var(--ds-border,#091e4224)}
|
|
47
52
|
._cr751ooe>input[type=checkbox]:focus+span:after{transform:translate(-50%,-50%)}
|
|
48
53
|
._cs4qstnw>input[type=checkbox]+span{position:absolute}
|
|
49
|
-
.
|
|
54
|
+
._czfesyzs>input[type=checkbox]:disabled:active+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
55
|
+
._d2dcsyzs>input[type=checkbox]:disabled+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
50
56
|
._dx3f1o36>input[type=checkbox]{outline-width:medium}
|
|
51
57
|
._fs2cidpf>input[type=checkbox]{margin-bottom:0}
|
|
52
58
|
._g5w3stnw>input[type=checkbox]:focus+span:after{position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* TaskItem.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* TaskItem.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./TaskItem.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* DecisionList.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* DecisionList.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
._18s815t0{margin:var(--_1yfnyhr)}
|
|
3
|
-
._18s81hzh{margin:var(--_tptct2)}
|
|
4
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._14hd1wug .decision-item{cursor:auto}
|
|
5
3
|
._16jlkb7n{flex-grow:1}
|
|
6
4
|
._18m915vq{overflow-y:hidden}
|
|
5
|
+
._18u0hwpb{margin-left:calc(var(--ds-space-100, 8px)*3)}
|
|
7
6
|
._18u0idpf{margin-left:0}
|
|
7
|
+
._18u0tu8f{margin-left:calc(var(--ds-space-100, 8px)*3.5)}
|
|
8
8
|
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
9
9
|
._19pkidpf{margin-top:0}
|
|
10
10
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Item.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* Item.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -38,11 +38,7 @@ var Item = /*#__PURE__*/function (_PureComponent) {
|
|
|
38
38
|
"data-testid": "task-decision-item-placeholder",
|
|
39
39
|
"data-component": "placeholder",
|
|
40
40
|
contentEditable: false,
|
|
41
|
-
className: ax(["
|
|
42
|
-
style: {
|
|
43
|
-
"--_tptct2": ix("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3.5)")),
|
|
44
|
-
"--_1yfnyhr": ix("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3)"))
|
|
45
|
-
}
|
|
41
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0tu8f _1reo15vq _18m915vq _kqswstnw _syaz131l _lcxvglyw _1bto1l2s _o5721q9c _p12f1dza", itemType === 'TASK' && "_19pkidpf _2hwxidpf _otyridpf _18u0hwpb"])
|
|
46
42
|
}, placeholder);
|
|
47
43
|
}
|
|
48
44
|
}, {
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
._18a711so>input[type=checkbox]+span>svg rect:first-of-type{transition:stroke .2s ease-in-out}
|
|
3
3
|
._1abj1mn3>input[type=checkbox]+span>svg{transition:color .2s ease-in-out,fill .2s ease-in-out}
|
|
4
|
-
.
|
|
4
|
+
._den51vyt>input[type=checkbox]:focus+span:after{border:var(--ds-border-width-selected,2px) solid var(--ds-border-focused,#388bff)}
|
|
5
5
|
._zh8l1b66>input[type=checkbox]:focus+span:after{border-radius:var(--ds-space-050,4px)}._10cr1ssb>input[type=checkbox]+span>svg{top:50%}
|
|
6
6
|
._12yy1d5g>input[type=checkbox]:hover+span>svg{color:var(--ds-background-input-hovered,#f7f8f9)}
|
|
7
7
|
._13vl73ad>input[type=checkbox][disabled]{cursor:default}
|
|
8
|
+
._16fmsyzs>input[type=checkbox]:disabled:hover+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
8
9
|
._16jlidpf{flex-grow:0}
|
|
9
10
|
._16np1elr>input[type=checkbox]+span>svg rect:first-of-type{stroke:var(--ds-border-input,#8590a2)}
|
|
10
11
|
._1746glyw>input[type=checkbox]{outline-style:none}
|
|
11
12
|
._18tob3bt>input[type=checkbox]:focus+span:after{content:""}
|
|
12
13
|
._19l51ooe>input[type=checkbox]+span{transform:translate(-50%,-50%)}
|
|
14
|
+
._19w0syzs>input[type=checkbox]:disabled:hover+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
13
15
|
._1awt1ule>input[type=checkbox]:focus+span:after{display:block}
|
|
16
|
+
._1bc7syzs>input[type=checkbox]:disabled:focus+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
14
17
|
._1bsb1tcg{width:24px}
|
|
15
18
|
._1davidpf>input[type=checkbox]{opacity:0}
|
|
16
19
|
._1efjn7od>input[type=checkbox]+span>svg{max-height:unset}
|
|
20
|
+
._1eulsyzs>input[type=checkbox]:disabled:active+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
21
|
+
._1gxgsyzs>input[type=checkbox]:disabled:focus+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
17
22
|
._1h5xidpf>input[type=checkbox]{margin-top:0}
|
|
18
23
|
._1l0615vq>input[type=checkbox]+span>svg{overflow-y:hidden}
|
|
19
24
|
._1mh7kb7n>input[type=checkbox]{z-index:1}
|
|
@@ -42,11 +47,12 @@
|
|
|
42
47
|
._9j2j1ssb>input[type=checkbox]+span{top:50%}
|
|
43
48
|
._9l2s7vkz>input[type=checkbox]{height:1pc}
|
|
44
49
|
._a27kkb7n>input[type=checkbox]+span>svg rect:first-of-type{stroke-width:1}
|
|
45
|
-
._bhkusyzs>input[type=checkbox]:disabled+span>svg rect:first-of-type
|
|
50
|
+
._bhkusyzs>input[type=checkbox]:disabled+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
46
51
|
._c8dpmuej>input[type=checkbox]:checked:active+span>svg rect:first-of-type{stroke:var(--ds-border,#091e4224)}
|
|
47
52
|
._cr751ooe>input[type=checkbox]:focus+span:after{transform:translate(-50%,-50%)}
|
|
48
53
|
._cs4qstnw>input[type=checkbox]+span{position:absolute}
|
|
49
|
-
.
|
|
54
|
+
._czfesyzs>input[type=checkbox]:disabled:active+span>svg rect:first-of-type{stroke:var(--ds-background-disabled,#091e4208)}
|
|
55
|
+
._d2dcsyzs>input[type=checkbox]:disabled+span>svg{color:var(--ds-background-disabled,#091e4208)}
|
|
50
56
|
._dx3f1o36>input[type=checkbox]{outline-width:medium}
|
|
51
57
|
._fs2cidpf>input[type=checkbox]{margin-bottom:0}
|
|
52
58
|
._g5w3stnw>input[type=checkbox]:focus+span:after{position:absolute}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* TaskItem.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* TaskItem.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./TaskItem.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -81,10 +81,7 @@ var TaskItem = function TaskItem(props) {
|
|
|
81
81
|
var inputRef = useMergeRefs(inputRefFromProps === undefined ? [localInputRef] : [inputRefFromProps, localInputRef]);
|
|
82
82
|
var icon = /*#__PURE__*/React.createElement("span", {
|
|
83
83
|
contentEditable: false,
|
|
84
|
-
className: ax(["_16jlidpf _1o9zidpf _i0dl1tcg _1bsb1tcg _4t3i1tcg _kqswh2mm _1wpzv2br _1snx1r31 _1746glyw _dx3f1o36 _1h5xidpf _sqizidpf _fs2cidpf _1smcidpf _oezm15vq _1l0615vq _1abj1mn3 _18a711so _16np1elr _a27kkb7n _q3p7usvi _qhqx1nu9 _10cr1ssb _zfav1ssb _m7eu1ooe _l9o0n7od _1efjn7od _1u2istnw _32ro1j9a _1wn015vq
|
|
85
|
-
style: {
|
|
86
|
-
"--_1yxryfo": ix("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-focused, #388BFF)"))
|
|
87
|
-
}
|
|
84
|
+
className: ax(["_16jlidpf _1o9zidpf _i0dl1tcg _1bsb1tcg _4t3i1tcg _kqswh2mm _1wpzv2br _1snx1r31 _1746glyw _dx3f1o36 _1h5xidpf _sqizidpf _fs2cidpf _1smcidpf _oezm15vq _1l0615vq _1abj1mn3 _18a711so _16np1elr _a27kkb7n _q3p7usvi _qhqx1nu9 _10cr1ssb _zfav1ssb _m7eu1ooe _l9o0n7od _1efjn7od _1u2istnw _32ro1j9a _1wn015vq _den51vyt _zh8l1b66 _g5w3stnw _whhepxbi _1stbpxbi _18tob3bt _1awt1ule _haf81ssb _ra781ssb _cr751ooe _1q8r7vkz _9l2s7vkz _1mh7kb7n _s3uktlke _1davidpf _8bo8stnw _psnc1ssb _4k421ssb _1rvv1ooe _13vl73ad _1t711tcg _1nuz1tcg _cs4qstnw _9j2j1ssb _1mwj1ssb _19l51ooe _12yy1d5g _1miy1elr _1umo18hz _tpz25w2r _k6dg18hz _1qduewfl _q8ft1fvw _1y9t5w2r _ut031fvw _gi9hr01l _1qp6muej _wxkgr01l _wo245w2r _c8dpmuej _d2dcsyzs _1eulsyzs _1bc7syzs _16fmsyzs _bhkusyzs _czfesyzs _1gxgsyzs _19w0syzs _1x1y1lg7"])
|
|
88
85
|
}, /*#__PURE__*/React.createElement("input", {
|
|
89
86
|
id: checkBoxId,
|
|
90
87
|
"aria-label": formatMessage(isDone ? messages.markTaskAsNotCompleted : messages.markTaskAsCompleted),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/task-decision",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.13",
|
|
4
4
|
"description": "Tasks and decisions react components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@atlaskit/afm-i18n-platform-elements-task-decision": "2.7.0",
|
|
38
|
-
"@atlaskit/analytics-namespaced-context": "^7.
|
|
38
|
+
"@atlaskit/analytics-namespaced-context": "^7.1.0",
|
|
39
39
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
40
|
-
"@atlaskit/icon": "^28.
|
|
40
|
+
"@atlaskit/icon": "^28.5.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
42
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
43
43
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
|
-
"@compiled/react": "^0.18.
|
|
45
|
+
"@compiled/react": "^0.18.6",
|
|
46
46
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
47
47
|
"use-callback-ref": "^1.2.3",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@af/visual-regression": "workspace:^",
|
|
57
|
-
"@atlaskit/analytics-listeners": "^9.
|
|
57
|
+
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
58
58
|
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
59
59
|
"@atlaskit/ssr": "workspace:^",
|
|
60
|
-
"@atlaskit/util-data-test": "^18.
|
|
60
|
+
"@atlaskit/util-data-test": "^18.3.0",
|
|
61
61
|
"@testing-library/react": "^13.4.0",
|
|
62
62
|
"@testing-library/user-event": "^14.4.3",
|
|
63
63
|
"@types/url-search-params": "^0.10.0",
|